(0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs"  (0.1ms) SELECT sqlite_version(*)  (0.9ms) CREATE TABLE "canvas_sync_job_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "completed_at" datetime, "exception" varchar, "backtrace" text, "job_class" varchar, "status" varchar, "metadata" text, "job_arguments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) DROP TABLE IF EXISTS "courses"  (0.6ms) CREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "status" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments"  (0.6ms) CREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.5ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.6ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "sections"  (0.6ms) CREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_sections_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_sections_on_canvas_course_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms"  (0.7ms) CREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users"  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "login_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20171107213207)  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20170915210836);   (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-01-03 16:05:59.546063"], ["updated_at", "2018-01-03 16:05:59.546063"]]  (0.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818] Performing GoodJob (Job ID: f8322857-04f2-49a5-a20b-0b343af8d818) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818]  (0.6ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.868035"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:05:59.883941"], ["updated_at", "2018-01-03 16:05:59.883941"]] [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:05:59.886185"], ["status", "success"], ["updated_at", "2018-01-03 16:05:59.886466"], ["id", 1]] [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f8322857-04f2-49a5-a20b-0b343af8d818] Performed GoodJob (Job ID: f8322857-04f2-49a5-a20b-0b343af8d818) from Async(default) in 19.81ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed] Performing BadJob (Job ID: 0cac1324-8989-46c7-aba0-426015b25fed) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.893012"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:05:59.893310"], ["updated_at", "2018-01-03 16:05:59.893310"]] [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed] SQL (1.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:05:59.894718"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:05:59.894927"], ["id", 1]] [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [0cac1324-8989-46c7-aba0-426015b25fed] Error performing BadJob (Job ID: 0cac1324-8989-46c7-aba0-426015b25fed) from Async(default) in 4.29ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8] Performing CanvasSync::Jobs::ReportChecker (Job ID: bb7144d3-9ab9-45f0-a56c-d61cf71284d8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.900951"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:05:59.901245"], ["updated_at", "2018-01-03 16:05:59.901245"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb7144d3-9ab9-45f0-a56c-d61cf71284d8] Performed CanvasSync::Jobs::ReportChecker (Job ID: bb7144d3-9ab9-45f0-a56c-d61cf71284d8) from Async(default) in 8.53ms  (0.2ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931] Performing CanvasSync::Jobs::ReportChecker (Job ID: ee00b9ef-0fda-43a6-babc-5b1883464931) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.912681"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:05:59.913026"], ["updated_at", "2018-01-03 16:05:59.913026"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c4bbe640-6713-44ac-95b4-2b7d90b92bc7) to Async(default) at 2018-01-03 16:06:29 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ee00b9ef-0fda-43a6-babc-5b1883464931] Performed CanvasSync::Jobs::ReportChecker (Job ID: ee00b9ef-0fda-43a6-babc-5b1883464931) from Async(default) in 7.99ms  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124] Performing CanvasSync::Jobs::ReportChecker (Job ID: 3bc7b1c1-193d-4241-8ea3-fc772572d124) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.924812"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:05:59.925257"], ["updated_at", "2018-01-03 16:05:59.925257"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:05:59.928703"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:05:59.929188"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3bc7b1c1-193d-4241-8ea3-fc772572d124] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 3bc7b1c1-193d-4241-8ea3-fc772572d124) from Async(default) in 14.02ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 8b97b197-bcaf-4616-b39d-9792db434324) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:05:59.943773"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:05:59.944137"], ["updated_at", "2018-01-03 16:05:59.944137"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "job_class" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:05:59.946145"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.008910"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.009460"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [8b97b197-bcaf-4616-b39d-9792db434324] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 8b97b197-bcaf-4616-b39d-9792db434324) from Async(default) in 68.09ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801] Performing CanvasSync::Jobs::ReportStarter (Job ID: bb729297-0097-4334-b48e-9d2957ef7801) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:06:00.017390"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:06:00.017913"], ["updated_at", "2018-01-03 16:06:00.017913"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 876e4af3-9633-4f20-b300-022c3bae813f) to Async(default) at 2018-01-03 16:06:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.023060"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.023534"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bb729297-0097-4334-b48e-9d2957ef7801] Performed CanvasSync::Jobs::ReportStarter (Job ID: bb729297-0097-4334-b48e-9d2957ef7801) from Async(default) in 8.21ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 26298398], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 26298398], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "76736c206c5cf1abc8ca57f2339dc870"], ["created_at", "2018-01-03 16:06:00.054826"], ["updated_at", "2018-01-03 16:06:00.054826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 37471540], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 37471540], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "871129b0334a98fad35136f1928b572f"], ["created_at", "2018-01-03 16:06:00.058729"], ["updated_at", "2018-01-03 16:06:00.058729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 34670], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 34670], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "inactive"], ["sis_id", "eb6359a08a44258776a429bc14f9028b"], ["created_at", "2018-01-03 16:06:00.061454"], ["updated_at", "2018-01-03 16:06:00.061454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f0b966de-e291-4a22-8e1d-15c4e3a455e4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:06:00.062900"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:06:00.063259"], ["updated_at", "2018-01-03 16:06:00.063259"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:06:00.065332' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:06:00.065543' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ? [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4] SQL (1.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.067120"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.067505"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b966de-e291-4a22-8e1d-15c4e3a455e4] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f0b966de-e291-4a22-8e1d-15c4e3a455e4) from Async(default) in 7.56ms  (0.4ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3c92ecf3-5115-4c49-849f-d6a488045bed) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:06:00.075548"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:06:00.075947"], ["updated_at", "2018-01-03 16:06:00.075947"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.077751"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.077949"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3c92ecf3-5115-4c49-849f-d6a488045bed] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3c92ecf3-5115-4c49-849f-d6a488045bed) from Async(default) in 3.83ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 404b1069-71ac-4b47-a30f-774304ed2b6d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:06:00.084755"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:06:00.085114"], ["updated_at", "2018-01-03 16:06:00.085114"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:06:00.091404"], ["updated_at", "2018-01-03 16:06:00.091404"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:06:00.093178"], ["updated_at", "2018-01-03 16:06:00.093178"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:06:00.094721"], ["updated_at", "2018-01-03 16:06:00.094721"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:06:00.096939"], ["updated_at", "2018-01-03 16:06:00.096939"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:06:00.099210"], ["updated_at", "2018-01-03 16:06:00.099210"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:06:00.101348"], ["updated_at", "2018-01-03 16:06:00.101348"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.115340"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.116155"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [404b1069-71ac-4b47-a30f-774304ed2b6d] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 404b1069-71ac-4b47-a30f-774304ed2b6d) from Async(default) in 34.1ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:06:00.127752"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:06:00.128574"], ["updated_at", "2018-01-03 16:06:00.128574"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97]  (1.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 54a4f732-94a2-4b7d-9e3e-971aec447a6b) to Async(default) at 2018-01-03 16:06:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:06:00.134416"], ["status", "success"], ["updated_at", "2018-01-03 16:06:00.134748"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 4d31f0b1-6885-45e5-ad6a-ced6f6aa6c97) from Async(default) in 8.79ms  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 93272557], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 93272557], ["sis_id", "43aebb5790a4096a72251c9206161346"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:06:00.161077"], ["end_date", "2018-01-24 16:06:00.161366"], ["created_at", "2018-01-03 16:06:00.163687"], ["updated_at", "2018-01-03 16:06:00.163687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 5408132], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 5408132], ["sis_id", "00fbbeeb5b3059050821313a2df1f91c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:06:00.203389"], ["end_date", "2018-01-24 16:06:00.203493"], ["created_at", "2018-01-03 16:06:00.204465"], ["updated_at", "2018-01-03 16:06:00.204465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]] Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 5408132], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 21491671], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 21491671], ["sis_id", "c6b0594148cd05087b0b0ccc4cea1b52"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:06:00.211505"], ["end_date", "2018-01-24 16:06:00.211580"], ["created_at", "2018-01-03 16:06:00.212322"], ["updated_at", "2018-01-03 16:06:00.212322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 3365356], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 3365356], ["sis_id", "16581a0f970fadd8cdd2d0f7a82a4a78"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:06:00.216703"], ["end_date", "2018-01-24 16:06:00.216775"], ["created_at", "2018-01-03 16:06:00.217510"], ["updated_at", "2018-01-03 16:06:00.217510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 29264008], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 29264008], ["sis_id", "1220977d856057e04153ae0a15c47c0f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:06:00.228039"], ["end_date", "2018-01-24 16:06:00.228207"], ["created_at", "2018-01-03 16:06:00.229672"], ["updated_at", "2018-01-03 16:06:00.229672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 51404469], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 51404469], ["created_at", "2018-01-03 16:06:00.258432"], ["updated_at", "2018-01-03 16:06:00.258432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 25355053], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 25355053], ["created_at", "2018-01-03 16:06:00.265596"], ["updated_at", "2018-01-03 16:06:00.265596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ? [["LIMIT", 1]] Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 25355053], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 87146867], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 87146867], ["created_at", "2018-01-03 16:06:00.275806"], ["updated_at", "2018-01-03 16:06:00.275806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 2970722], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2970722], ["created_at", "2018-01-03 16:06:00.281618"], ["updated_at", "2018-01-03 16:06:00.281618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 2064378], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2064378], ["created_at", "2018-01-03 16:06:00.285702"], ["updated_at", "2018-01-03 16:06:00.285702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 38632745], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 38632745], ["created_at", "2018-01-03 16:06:00.308434"], ["updated_at", "2018-01-03 16:06:00.308434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 43815812], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 43815812], ["created_at", "2018-01-03 16:06:00.316912"], ["updated_at", "2018-01-03 16:06:00.316912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 43815812], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 62616862], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 62616862], ["created_at", "2018-01-03 16:06:00.327123"], ["updated_at", "2018-01-03 16:06:00.327123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 99430763], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 99430763], ["created_at", "2018-01-03 16:06:00.333238"], ["updated_at", "2018-01-03 16:06:00.333238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 21763554], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 21763554], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "38c55222a0f277d42facf4833ec946f7"], ["created_at", "2018-01-03 16:06:00.338362"], ["updated_at", "2018-01-03 16:06:00.338362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 9013465], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 9013465], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "b585f9796321c4a27307dc6d850ceea8"], ["created_at", "2018-01-03 16:06:00.343591"], ["updated_at", "2018-01-03 16:06:00.343591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ? [["LIMIT", 1]] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 9013465], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 21911899], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 21911899], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "4bef9bc649e301ef2d77f26e7b9dec2c"], ["created_at", "2018-01-03 16:06:00.359776"], ["updated_at", "2018-01-03 16:06:00.359776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 18361917], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 18361917], ["name", "Cool Term"], ["start_at", "2018-01-01 16:06:00.365902"], ["end_at", "2018-01-06 16:06:00.366052"], ["workflow_state", "active"], ["sis_id", "3944287c2708bba10c08d4e4de70d041"], ["created_at", "2018-01-03 16:06:00.367894"], ["updated_at", "2018-01-03 16:06:00.367894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 90209260], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 90209260], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "inactive"], ["sis_id", "4205fd8e01551dc8b2107c57a62c82e5"], ["created_at", "2018-01-03 16:06:00.370822"], ["updated_at", "2018-01-03 16:06:00.370822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 94196440], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 94196440], ["name", "Cool Term"], ["start_at", "2017-11-03 16:06:00.373613"], ["end_at", "2017-12-03 16:06:00.373695"], ["workflow_state", "active"], ["sis_id", "1fa6795eed2cbda5afa7ff952594859a"], ["created_at", "2018-01-03 16:06:00.375012"], ["updated_at", "2018-01-03 16:06:00.375012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 14798989], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 14798989], ["name", "Cool Term"], ["start_at", "2018-07-03 16:06:00.376133"], ["end_at", "2019-01-03 16:06:00.376192"], ["workflow_state", "active"], ["sis_id", "0e81562d7feb1f883f2b7f6f1ceac3a3"], ["created_at", "2018-01-03 16:06:00.377498"], ["updated_at", "2018-01-03 16:06:00.377498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:06:00.378750' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:06:00.378939' OR end_at IS NULL) [["workflow_state", "active"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:06:00.387097"], ["updated_at", "2018-01-03 16:06:00.387097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:05:56.154371"], ["end_at", "2018-01-06 16:05:56.154591"], ["workflow_state", "active"], ["sis_id", "8a996c6329fea1fd510d0726b7c8c61e"], ["created_at", "2018-01-03 16:06:00.393073"], ["updated_at", "2018-01-03 16:06:00.393073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "terms" Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ? [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ? [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:06:00.395695"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 34234987], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 34234987], ["sis_id", "b10ab94d21dd572ff8f87e96ffd1804a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:06:00.423052"], ["updated_at", "2018-01-03 16:06:00.423052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 58694872], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 58694872], ["sis_id", "7b397a42355dc45025f06db684f97b51"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:06:00.433627"], ["updated_at", "2018-01-03 16:06:00.433627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 58694872], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 9535829], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9535829], ["sis_id", "165c08cd7d17ae06aa700e3f595f9ced"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:06:00.441854"], ["updated_at", "2018-01-03 16:06:00.441854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT sqlite_version(*) Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:06:00.449039','2018-01-03 16:06:00.449039'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:06:00.449039','2018-01-03 16:06:00.449039')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:06:00.455883','2018-01-03 16:06:00.455883'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:06:00.455883','2018-01-03 16:06:00.455883')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.0ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "enrollments" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 Enrollment Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:06:00.462522','2018-01-03 16:06:00.462522'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:06:00.462522','2018-01-03 16:06:00.462522')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "sections" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:06:00.480526','2018-01-03 16:06:00.480526'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:06:00.480526','2018-01-03 16:06:00.480526')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:06:00.490230','2018-01-03 16:06:00.490230')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:06:00.501011','2018-01-03 16:06:00.501011'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:06:00.501011','2018-01-03 16:06:00.501011')  (0.1ms) RELEASE SAVEPOINT active_record_1 Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.1ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:06:00.502824','2018-01-03 16:06:00.502824'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:06:00.502824','2018-01-03 16:06:00.502824')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "courses"  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1] Performing GoodJob (Job ID: b24d5734-bb59-464c-bd2a-a7decfa230c1) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:11.948103"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:08:11.960765"], ["updated_at", "2018-01-03 16:08:11.960765"]] [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1] SQL (2.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:11.963597"], ["status", "success"], ["updated_at", "2018-01-03 16:08:11.963948"], ["id", 1]] [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b24d5734-bb59-464c-bd2a-a7decfa230c1] Performed GoodJob (Job ID: b24d5734-bb59-464c-bd2a-a7decfa230c1) from Async(default) in 23.72ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7] Performing BadJob (Job ID: 6b75d43b-7c8b-499e-88d5-d7557baa51d7) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:11.983499"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:08:11.983947"], ["updated_at", "2018-01-03 16:08:11.983947"]] [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:11.987276"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:08:11.987594"], ["id", 1]] [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6b75d43b-7c8b-499e-88d5-d7557baa51d7] Error performing BadJob (Job ID: 6b75d43b-7c8b-499e-88d5-d7557baa51d7) from Async(default) in 6.13ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02] Performing CanvasSync::Jobs::ReportChecker (Job ID: a9145f45-49d6-4136-9d54-764161c99c02) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:11.995048"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:11.995475"], ["updated_at", "2018-01-03 16:08:11.995475"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a9145f45-49d6-4136-9d54-764161c99c02] Performed CanvasSync::Jobs::ReportChecker (Job ID: a9145f45-49d6-4136-9d54-764161c99c02) from Async(default) in 10.11ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 3eef67b7-cf64-4b5f-aef1-bdd617642ea0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.010340"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:12.010915"], ["updated_at", "2018-01-03 16:08:12.010915"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c535ee02-f9fd-466c-a675-b15857abc97d) to Async(default) at 2018-01-03 16:08:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3eef67b7-cf64-4b5f-aef1-bdd617642ea0] Performed CanvasSync::Jobs::ReportChecker (Job ID: 3eef67b7-cf64-4b5f-aef1-bdd617642ea0) from Async(default) in 8.96ms  (0.4ms) rollback transaction  (0.2ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823] Performing CanvasSync::Jobs::ReportChecker (Job ID: 35f57671-47f2-4ba9-ba96-c2d80ea1e823) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823] SQL (2.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.039242"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:12.040750"], ["updated_at", "2018-01-03 16:08:12.040750"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.050559"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:08:12.051284"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35f57671-47f2-4ba9-ba96-c2d80ea1e823] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 35f57671-47f2-4ba9-ba96-c2d80ea1e823) from Async(default) in 16.62ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 2c42ceb8-e480-4943-8312-bbd487ae938f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f] SQL (5.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.063869"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:12.064433"], ["updated_at", "2018-01-03 16:08:12.064433"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:08:12.076410"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.131313"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.132152"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2c42ceb8-e480-4943-8312-bbd487ae938f] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 2c42ceb8-e480-4943-8312-bbd487ae938f) from Async(default) in 71.68ms  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc] Performing CanvasSync::Jobs::ReportStarter (Job ID: d6f4feb6-9d55-4791-b023-e35443b1a6dc) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.146364"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:08:12.147225"], ["updated_at", "2018-01-03 16:08:12.147225"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7fe381ad-031e-4595-a4c4-9a5328500804) to Async(default) at 2018-01-03 16:08:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.154039"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.154627"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6f4feb6-9d55-4791-b023-e35443b1a6dc] Performed CanvasSync::Jobs::ReportStarter (Job ID: d6f4feb6-9d55-4791-b023-e35443b1a6dc) from Async(default) in 11.68ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 96158813], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 96158813], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "2af0c64194ff07049999109893c801f4"], ["created_at", "2018-01-03 16:08:12.205913"], ["updated_at", "2018-01-03 16:08:12.205913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 30191605], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 30191605], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "2dd87449f3a6350f63aa925ba62fd61e"], ["created_at", "2018-01-03 16:08:12.210327"], ["updated_at", "2018-01-03 16:08:12.210327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 47202467], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 47202467], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "inactive"], ["sis_id", "96146138a7e0bc299b80c50315814681"], ["created_at", "2018-01-03 16:08:12.213846"], ["updated_at", "2018-01-03 16:08:12.213846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4dbec530-c07d-417e-91b2-ca10761a8790) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.217049"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:08:12.217818"], ["updated_at", "2018-01-03 16:08:12.217818"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:08:12.222176' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:08:12.222537' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ? [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.224799"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.225343"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4dbec530-c07d-417e-91b2-ca10761a8790] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4dbec530-c07d-417e-91b2-ca10761a8790) from Async(default) in 10.98ms  (0.5ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 01885b9a-25d3-499d-b56b-7906033adac5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.235552"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:08:12.236256"], ["updated_at", "2018-01-03 16:08:12.236256"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.240887"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.241622"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [01885b9a-25d3-499d-b56b-7906033adac5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 01885b9a-25d3-499d-b56b-7906033adac5) from Async(default) in 10.45ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 31064758-51d2-459e-9c6e-e5283a26dc58) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.258053"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:12.259254"], ["updated_at", "2018-01-03 16:08:12.259254"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:08:12.310509"], ["updated_at", "2018-01-03 16:08:12.310509"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:08:12.318137"], ["updated_at", "2018-01-03 16:08:12.318137"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:08:12.325710"], ["updated_at", "2018-01-03 16:08:12.325710"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:08:12.334388"], ["updated_at", "2018-01-03 16:08:12.334388"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:08:12.340012"], ["updated_at", "2018-01-03 16:08:12.340012"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:08:12.349394"], ["updated_at", "2018-01-03 16:08:12.349394"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.3ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.352570"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.353836"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [31064758-51d2-459e-9c6e-e5283a26dc58] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 31064758-51d2-459e-9c6e-e5283a26dc58) from Async(default) in 100.62ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.5ms) rollback transaction  (0.2ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 236d2f91-3548-452d-b961-1b78a0cb0fad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad]  (0.3ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:08:12.373165"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:08:12.374668"], ["updated_at", "2018-01-03 16:08:12.374668"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1f71ca56-14cc-42be-9d1d-3333922e3c2f) to Async(default) at 2018-01-03 16:08:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:08:12.384726"], ["status", "success"], ["updated_at", "2018-01-03 16:08:12.385970"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad]  (0.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [236d2f91-3548-452d-b961-1b78a0cb0fad] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 236d2f91-3548-452d-b961-1b78a0cb0fad) from Async(default) in 18.6ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 36172132], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 36172132], ["sis_id", "49980effceb89423428cbe3e21d2fe9c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:08:12.456516"], ["end_date", "2018-01-24 16:08:12.456830"], ["created_at", "2018-01-03 16:08:12.461501"], ["updated_at", "2018-01-03 16:08:12.461501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 45628950], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 45628950], ["sis_id", "686bd2915e3d3e008b57272add0b9f6e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:08:12.496824"], ["end_date", "2018-01-24 16:08:12.497027"], ["created_at", "2018-01-03 16:08:12.499232"], ["updated_at", "2018-01-03 16:08:12.499232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]] Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 45628950], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 60976516], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 60976516], ["sis_id", "143b7a9663b33893ecfd1873079197f8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:08:12.511643"], ["end_date", "2018-01-24 16:08:12.511740"], ["created_at", "2018-01-03 16:08:12.512933"], ["updated_at", "2018-01-03 16:08:12.512933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 55221953], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 55221953], ["sis_id", "62b38153f306956d7c3bf2d4081ef4d2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:08:12.521256"], ["end_date", "2018-01-24 16:08:12.521455"], ["created_at", "2018-01-03 16:08:12.528957"], ["updated_at", "2018-01-03 16:08:12.528957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 7127831], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 7127831], ["sis_id", "88cb67312f39f36cdd134b7484c3a9d8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:08:12.539795"], ["end_date", "2018-01-24 16:08:12.539945"], ["created_at", "2018-01-03 16:08:12.541334"], ["updated_at", "2018-01-03 16:08:12.541334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 92759706], ["LIMIT", 1]] SQL (6.0ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 92759706], ["created_at", "2018-01-03 16:08:12.578061"], ["updated_at", "2018-01-03 16:08:12.578061"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 16736396], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 16736396], ["created_at", "2018-01-03 16:08:12.600883"], ["updated_at", "2018-01-03 16:08:12.600883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ? [["LIMIT", 1]] Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 16736396], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 34533788], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 34533788], ["created_at", "2018-01-03 16:08:12.613503"], ["updated_at", "2018-01-03 16:08:12.613503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 44068147], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 44068147], ["created_at", "2018-01-03 16:08:12.619146"], ["updated_at", "2018-01-03 16:08:12.619146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 18849118], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 18849118], ["created_at", "2018-01-03 16:08:12.625403"], ["updated_at", "2018-01-03 16:08:12.625403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 54172786], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 54172786], ["created_at", "2018-01-03 16:08:12.661279"], ["updated_at", "2018-01-03 16:08:12.661279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 97837714], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 97837714], ["created_at", "2018-01-03 16:08:12.676197"], ["updated_at", "2018-01-03 16:08:12.676197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 97837714], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 9272392], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 9272392], ["created_at", "2018-01-03 16:08:12.691570"], ["updated_at", "2018-01-03 16:08:12.691570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 82171508], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 82171508], ["created_at", "2018-01-03 16:08:12.713492"], ["updated_at", "2018-01-03 16:08:12.713492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 50657777], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 50657777], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "6aa0c546e1fd5c86d5495aeeba31f3e6"], ["created_at", "2018-01-03 16:08:12.727090"], ["updated_at", "2018-01-03 16:08:12.727090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 68254704], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 68254704], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "b69b66874aff813eb8eb829ef4f0b3f6"], ["created_at", "2018-01-03 16:08:12.738978"], ["updated_at", "2018-01-03 16:08:12.738978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ? [["LIMIT", 1]] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 68254704], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 50659335], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 50659335], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "275de340440faaf0cfb276a7c04024a1"], ["created_at", "2018-01-03 16:08:12.749512"], ["updated_at", "2018-01-03 16:08:12.749512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 50690979], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 50690979], ["name", "Cool Term"], ["start_at", "2018-01-01 16:08:12.760851"], ["end_at", "2018-01-06 16:08:12.760974"], ["workflow_state", "active"], ["sis_id", "fb7f94928d8e8537f5a2941966170d96"], ["created_at", "2018-01-03 16:08:12.763935"], ["updated_at", "2018-01-03 16:08:12.763935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 86486425], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 86486425], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "inactive"], ["sis_id", "525d98b5ec980c8210eb7efc5eeb60fc"], ["created_at", "2018-01-03 16:08:12.779739"], ["updated_at", "2018-01-03 16:08:12.779739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 64535789], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 64535789], ["name", "Cool Term"], ["start_at", "2017-11-03 16:08:12.783282"], ["end_at", "2017-12-03 16:08:12.783409"], ["workflow_state", "active"], ["sis_id", "9c16ecf9ea108dd8b4e91552446a4240"], ["created_at", "2018-01-03 16:08:12.785966"], ["updated_at", "2018-01-03 16:08:12.785966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 8789559], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 8789559], ["name", "Cool Term"], ["start_at", "2018-07-03 16:08:12.788308"], ["end_at", "2019-01-03 16:08:12.788397"], ["workflow_state", "active"], ["sis_id", "2ce3a0b6b8e5e7d06405269c9923be25"], ["created_at", "2018-01-03 16:08:12.791175"], ["updated_at", "2018-01-03 16:08:12.791175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:08:12.794884' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:08:12.795179' OR end_at IS NULL) [["workflow_state", "active"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:08:12.807415"], ["updated_at", "2018-01-03 16:08:12.807415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:08:10.888103"], ["end_at", "2018-01-06 16:08:10.888368"], ["workflow_state", "active"], ["sis_id", "b93ddc3f1b3c31644b2de3313f2c5079"], ["created_at", "2018-01-03 16:08:12.822660"], ["updated_at", "2018-01-03 16:08:12.822660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ? [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ? [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:08:12.829546"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "terms" Term Load (2.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 63816487], ["LIMIT", 1]] SQL (4.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 63816487], ["sis_id", "7dab42345660948acf536ab1285f16ba"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:08:12.877313"], ["updated_at", "2018-01-03 16:08:12.877313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 4663131], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4663131], ["sis_id", "861818b60aa62c4b36d9b3b478b095ec"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:08:12.902832"], ["updated_at", "2018-01-03 16:08:12.902832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 4663131], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 96154577], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 96154577], ["sis_id", "55b0b008f9f530ab19f1817540c9cd82"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:08:12.919978"], ["updated_at", "2018-01-03 16:08:12.919978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT sqlite_version(*) Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (3.6ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:08:12.937744','2018-01-03 16:08:12.937744'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:08:12.937744','2018-01-03 16:08:12.937744')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "users"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.2ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:08:12.965507','2018-01-03 16:08:12.965507'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:08:12.965507','2018-01-03 16:08:12.965507')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "enrollments" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.2ms) SAVEPOINT active_record_1 Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:08:12.983061','2018-01-03 16:08:12.983061'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:08:12.983061','2018-01-03 16:08:12.983061')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "sections" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:08:13.015983','2018-01-03 16:08:13.015983'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:08:13.015983','2018-01-03 16:08:13.015983')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:08:13.029061','2018-01-03 16:08:13.029061')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:08:13.051643','2018-01-03 16:08:13.051643'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:08:13.051643','2018-01-03 16:08:13.051643')  (0.1ms) RELEASE SAVEPOINT active_record_1 Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:08:13.054683','2018-01-03 16:08:13.054683'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:08:13.054683','2018-01-03 16:08:13.054683')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b] Performing GoodJob (Job ID: 0a20ce5b-f90b-4198-91bb-7c5861588d0b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.068599"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:09:40.078508"], ["updated_at", "2018-01-03 16:09:40.078508"]] [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.080266"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.080500"], ["id", 1]] [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0a20ce5b-f90b-4198-91bb-7c5861588d0b] Performed GoodJob (Job ID: 0a20ce5b-f90b-4198-91bb-7c5861588d0b) from Async(default) in 12.98ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143] Performing BadJob (Job ID: 6fe881de-9876-4adb-bc1d-fec58f5de143) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.086191"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:09:40.086459"], ["updated_at", "2018-01-03 16:09:40.086459"]] [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.087799"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:09:40.087987"], ["id", 1]] [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6fe881de-9876-4adb-bc1d-fec58f5de143] Error performing BadJob (Job ID: 6fe881de-9876-4adb-bc1d-fec58f5de143) from Async(default) in 3.03ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6] Performing CanvasSync::Jobs::ReportChecker (Job ID: eadb6594-99c6-431b-8e91-b11e14ffffd6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.093591"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.093942"], ["updated_at", "2018-01-03 16:09:40.093942"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [eadb6594-99c6-431b-8e91-b11e14ffffd6] Performed CanvasSync::Jobs::ReportChecker (Job ID: eadb6594-99c6-431b-8e91-b11e14ffffd6) from Async(default) in 7.85ms  (1.2ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4184ea3c-12a8-4904-be18-28566335dfdd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.114829"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.115421"], ["updated_at", "2018-01-03 16:09:40.115421"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5f297107-44e3-41dd-9880-117d1f60abda) to Async(default) at 2018-01-03 16:10:10 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4184ea3c-12a8-4904-be18-28566335dfdd] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4184ea3c-12a8-4904-be18-28566335dfdd) from Async(default) in 7.06ms  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6] Performing CanvasSync::Jobs::ReportChecker (Job ID: d889c7fe-5a7f-4de1-8d3c-00066f28cbc6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.126310"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.126741"], ["updated_at", "2018-01-03 16:09:40.126741"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.129149"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:09:40.129383"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d889c7fe-5a7f-4de1-8d3c-00066f28cbc6] Error performing CanvasSync::Jobs::ReportChecker (Job ID: d889c7fe-5a7f-4de1-8d3c-00066f28cbc6) from Async(default) in 6.19ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: ba298c93-d752-4c84-96e9-c192404931b1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.135641"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.135951"], ["updated_at", "2018-01-03 16:09:40.135951"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "job_class" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:09:40.137680"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.178160"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.178755"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ba298c93-d752-4c84-96e9-c192404931b1] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: ba298c93-d752-4c84-96e9-c192404931b1) from Async(default) in 45.28ms  (1.9ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a] Performing CanvasSync::Jobs::ReportStarter (Job ID: acc1757c-d57e-4b7e-8d70-8607c6761b2a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.187330"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:09:40.187674"], ["updated_at", "2018-01-03 16:09:40.187674"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3066ebf6-5358-4c01-a1a2-c27710e3fd9a) to Async(default) at 2018-01-03 16:10:10 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.191117"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.191503"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [acc1757c-d57e-4b7e-8d70-8607c6761b2a] Performed CanvasSync::Jobs::ReportStarter (Job ID: acc1757c-d57e-4b7e-8d70-8607c6761b2a) from Async(default) in 5.57ms  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 90427230], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 90427230], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "f3778ecdaf1009ba49d81b97eba581bd"], ["created_at", "2018-01-03 16:09:40.206619"], ["updated_at", "2018-01-03 16:09:40.206619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 56826133], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 56826133], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "84665b008580c5249938c9ea2fdec693"], ["created_at", "2018-01-03 16:09:40.208925"], ["updated_at", "2018-01-03 16:09:40.208925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 33523871], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 33523871], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "inactive"], ["sis_id", "b7d6b45d17a694f6844ed7128d5256a9"], ["created_at", "2018-01-03 16:09:40.210533"], ["updated_at", "2018-01-03 16:09:40.210533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6cfdcecb-de6e-4910-a006-661322ed748a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.212305"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:09:40.212802"], ["updated_at", "2018-01-03 16:09:40.212802"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:09:40.215753' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:09:40.215987' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ? [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.217459"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.219110"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6cfdcecb-de6e-4910-a006-661322ed748a] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6cfdcecb-de6e-4910-a006-661322ed748a) from Async(default) in 19.23ms  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a304a94a-7c19-4b32-8ebb-d5ea3a1ba446) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.234843"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:09:40.235170"], ["updated_at", "2018-01-03 16:09:40.235170"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.236956"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.237161"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a304a94a-7c19-4b32-8ebb-d5ea3a1ba446] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a304a94a-7c19-4b32-8ebb-d5ea3a1ba446) from Async(default) in 4.56ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: a6beeded-d0b0-4362-a53c-39aa6c08bf05) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.243271"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.243673"], ["updated_at", "2018-01-03 16:09:40.243673"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:09:40.251191"], ["updated_at", "2018-01-03 16:09:40.251191"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:09:40.253527"], ["updated_at", "2018-01-03 16:09:40.253527"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:09:40.255896"], ["updated_at", "2018-01-03 16:09:40.255896"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:09:40.259156"], ["updated_at", "2018-01-03 16:09:40.259156"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:09:40.261790"], ["updated_at", "2018-01-03 16:09:40.261790"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:09:40.265275"], ["updated_at", "2018-01-03 16:09:40.265275"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.266680"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.267155"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a6beeded-d0b0-4362-a53c-39aa6c08bf05] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: a6beeded-d0b0-4362-a53c-39aa6c08bf05) from Async(default) in 26.08ms  (0.1ms) SELECT COUNT(*) FROM "terms"  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: a0677f8d-8c76-41fd-abb1-486bcd245484) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:09:40.284405"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:09:40.285014"], ["updated_at", "2018-01-03 16:09:40.285014"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 19d8646d-5a95-4c01-9661-a9abc3938149) to Async(default) at 2018-01-03 16:10:10 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:09:40.289116"], ["status", "success"], ["updated_at", "2018-01-03 16:09:40.289471"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [a0677f8d-8c76-41fd-abb1-486bcd245484] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: a0677f8d-8c76-41fd-abb1-486bcd245484) from Async(default) in 6.8ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 90244025], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 90244025], ["sis_id", "ebe5be15871b47a7177aa30aba5a65fe"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:09:40.309755"], ["end_date", "2018-01-24 16:09:40.309852"], ["created_at", "2018-01-03 16:09:40.311253"], ["updated_at", "2018-01-03 16:09:40.311253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 54582230], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 54582230], ["sis_id", "643ab688435a3ae5ccb7cff11c2c9fe0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:09:40.326039"], ["end_date", "2018-01-24 16:09:40.326191"], ["created_at", "2018-01-03 16:09:40.327182"], ["updated_at", "2018-01-03 16:09:40.327182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]] Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 54582230], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 26013773], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 26013773], ["sis_id", "9d61e86b8bf6a0d7491e67fd3979c2ba"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:09:40.342341"], ["end_date", "2018-01-24 16:09:40.342437"], ["created_at", "2018-01-03 16:09:40.343518"], ["updated_at", "2018-01-03 16:09:40.343518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 15226584], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 15226584], ["sis_id", "b65cd9880ba47497924680828c2963cf"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:09:40.347857"], ["end_date", "2018-01-24 16:09:40.347971"], ["created_at", "2018-01-03 16:09:40.348742"], ["updated_at", "2018-01-03 16:09:40.348742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 39307673], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 39307673], ["sis_id", "2a21af53301777353ea45d848fd08c05"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:09:40.355436"], ["end_date", "2018-01-24 16:09:40.355511"], ["created_at", "2018-01-03 16:09:40.356483"], ["updated_at", "2018-01-03 16:09:40.356483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 59305526], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 59305526], ["created_at", "2018-01-03 16:09:40.390833"], ["updated_at", "2018-01-03 16:09:40.390833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 38791489], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 38791489], ["created_at", "2018-01-03 16:09:40.401425"], ["updated_at", "2018-01-03 16:09:40.401425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ? [["LIMIT", 1]] Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 38791489], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 98533319], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 98533319], ["created_at", "2018-01-03 16:09:40.408305"], ["updated_at", "2018-01-03 16:09:40.408305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 70632123], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 70632123], ["created_at", "2018-01-03 16:09:40.414703"], ["updated_at", "2018-01-03 16:09:40.414703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 56842410], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 56842410], ["created_at", "2018-01-03 16:09:40.421491"], ["updated_at", "2018-01-03 16:09:40.421491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 68921577], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 68921577], ["created_at", "2018-01-03 16:09:40.446812"], ["updated_at", "2018-01-03 16:09:40.446812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 51483394], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 51483394], ["created_at", "2018-01-03 16:09:40.455851"], ["updated_at", "2018-01-03 16:09:40.455851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]] Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 51483394], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 67117623], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 67117623], ["created_at", "2018-01-03 16:09:40.466355"], ["updated_at", "2018-01-03 16:09:40.466355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 53264625], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 53264625], ["created_at", "2018-01-03 16:09:40.473865"], ["updated_at", "2018-01-03 16:09:40.473865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 8427483], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 8427483], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "f69593f7cd83271a482d1aa9008c277b"], ["created_at", "2018-01-03 16:09:40.480644"], ["updated_at", "2018-01-03 16:09:40.480644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 53104901], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 53104901], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "997de14b9b0e4d6735116c1956b2ab69"], ["created_at", "2018-01-03 16:09:40.499516"], ["updated_at", "2018-01-03 16:09:40.499516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ? [["LIMIT", 1]] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 53104901], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 87957551], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 87957551], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "6ac3f12204ef0638574dc4c76dd21688"], ["created_at", "2018-01-03 16:09:40.511224"], ["updated_at", "2018-01-03 16:09:40.511224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 62202782], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 62202782], ["name", "Cool Term"], ["start_at", "2018-01-01 16:09:40.518129"], ["end_at", "2018-01-06 16:09:40.518224"], ["workflow_state", "active"], ["sis_id", "becb56ac3a0903cb37ad89e39833c41b"], ["created_at", "2018-01-03 16:09:40.523895"], ["updated_at", "2018-01-03 16:09:40.523895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 11743585], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 11743585], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "inactive"], ["sis_id", "14d0846d8807d516bb21300afd0804bc"], ["created_at", "2018-01-03 16:09:40.526754"], ["updated_at", "2018-01-03 16:09:40.526754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 13011075], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 13011075], ["name", "Cool Term"], ["start_at", "2017-11-03 16:09:40.527887"], ["end_at", "2017-12-03 16:09:40.527981"], ["workflow_state", "active"], ["sis_id", "ee2d54bb5d52792eae6d27aeca533d40"], ["created_at", "2018-01-03 16:09:40.529019"], ["updated_at", "2018-01-03 16:09:40.529019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 26332739], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 26332739], ["name", "Cool Term"], ["start_at", "2018-07-03 16:09:40.529890"], ["end_at", "2019-01-03 16:09:40.529953"], ["workflow_state", "active"], ["sis_id", "22a30c16753cec1e1dff2c8eae35d4d9"], ["created_at", "2018-01-03 16:09:40.534085"], ["updated_at", "2018-01-03 16:09:40.534085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:09:40.540042' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:09:40.540191' OR end_at IS NULL) [["workflow_state", "active"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:09:40.546745"], ["updated_at", "2018-01-03 16:09:40.546745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:09:39.303714"], ["end_at", "2018-01-06 16:09:39.303927"], ["workflow_state", "active"], ["sis_id", "3a6addd194eb5c2b0e3b7c975adfd0ad"], ["created_at", "2018-01-03 16:09:40.554385"], ["updated_at", "2018-01-03 16:09:40.554385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ? [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ? [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:09:40.557669"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 90744696], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 90744696], ["sis_id", "20c2f4bc170e58a9016cfdab0813261c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:09:40.589412"], ["updated_at", "2018-01-03 16:09:40.589412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 92036443], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 92036443], ["sis_id", "29a0d8dba10f822a62e0f2fdd32e179e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:09:40.599904"], ["updated_at", "2018-01-03 16:09:40.599904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 92036443], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 8300196], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8300196], ["sis_id", "9f6f1dfb13429003f4464f7cd80cc3e0"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:09:40.608735"], ["updated_at", "2018-01-03 16:09:40.608735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT sqlite_version(*) Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:09:40.617804','2018-01-03 16:09:40.617804'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:09:40.617804','2018-01-03 16:09:40.617804')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:09:40.625871','2018-01-03 16:09:40.625871'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:09:40.625871','2018-01-03 16:09:40.625871')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.0ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "enrollments" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Enrollment Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:09:40.639849','2018-01-03 16:09:40.639849'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:09:40.639849','2018-01-03 16:09:40.639849')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "sections" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:09:40.647313','2018-01-03 16:09:40.647313'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:09:40.647313','2018-01-03 16:09:40.647313')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.0ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:09:40.655018','2018-01-03 16:09:40.655018')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:09:40.667384','2018-01-03 16:09:40.667384'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:09:40.667384','2018-01-03 16:09:40.667384')  (0.1ms) RELEASE SAVEPOINT active_record_1 Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:09:40.670075','2018-01-03 16:09:40.670075'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:09:40.670075','2018-01-03 16:09:40.670075')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad] Performing GoodJob (Job ID: 12890639-1737-4f4d-8c90-f607f59fc8ad) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.327867"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:10:15.335419"], ["updated_at", "2018-01-03 16:10:15.335419"]] [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.339051"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.339438"], ["id", 1]] [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [12890639-1737-4f4d-8c90-f607f59fc8ad] Performed GoodJob (Job ID: 12890639-1737-4f4d-8c90-f607f59fc8ad) from Async(default) in 12.67ms  (0.0ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a] Performing BadJob (Job ID: 88a7089a-532b-40e4-9633-33986f18533a) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.345906"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:10:15.346265"], ["updated_at", "2018-01-03 16:10:15.346265"]] [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.347679"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:10:15.347871"], ["id", 1]] [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [88a7089a-532b-40e4-9633-33986f18533a] Error performing BadJob (Job ID: 88a7089a-532b-40e4-9633-33986f18533a) from Async(default) in 3.13ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.0ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2] Performing CanvasSync::Jobs::ReportChecker (Job ID: c5b54762-17f2-4b28-a05c-48ad5cc142a2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.352595"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.352911"], ["updated_at", "2018-01-03 16:10:15.352911"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c5b54762-17f2-4b28-a05c-48ad5cc142a2] Performed CanvasSync::Jobs::ReportChecker (Job ID: c5b54762-17f2-4b28-a05c-48ad5cc142a2) from Async(default) in 7.16ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8802dc11-f7b3-4d20-92a4-c7c631139e06) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.364654"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.365179"], ["updated_at", "2018-01-03 16:10:15.365179"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a89d169e-f0d3-4aed-8c93-6834d7e4df5e) to Async(default) at 2018-01-03 16:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8802dc11-f7b3-4d20-92a4-c7c631139e06] Performed CanvasSync::Jobs::ReportChecker (Job ID: 8802dc11-f7b3-4d20-92a4-c7c631139e06) from Async(default) in 7.94ms  (0.3ms) rollback transaction  (0.5ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026] Performing CanvasSync::Jobs::ReportChecker (Job ID: 9076d83f-be79-4cd6-9a5b-388274aa0026) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.386311"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.386971"], ["updated_at", "2018-01-03 16:10:15.386971"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.390744"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:10:15.391132"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9076d83f-be79-4cd6-9a5b-388274aa0026] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 9076d83f-be79-4cd6-9a5b-388274aa0026) from Async(default) in 7.33ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 24100e1c-7508-481c-9aad-a85388b55f24) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.398992"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.399507"], ["updated_at", "2018-01-03 16:10:15.399507"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "job_class" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:10:15.402521"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.436401"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.436843"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [24100e1c-7508-481c-9aad-a85388b55f24] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 24100e1c-7508-481c-9aad-a85388b55f24) from Async(default) in 39.24ms  (0.2ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383] Performing CanvasSync::Jobs::ReportStarter (Job ID: 2cfc15f8-b40e-459a-a27d-e91797bdf383) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383]  (1.5ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.442303"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:10:15.446314"], ["updated_at", "2018-01-03 16:10:15.446314"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 6a7e7c26-eb8a-4b12-af5d-f499aae4d226) to Async(default) at 2018-01-03 16:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.454733"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.455168"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2cfc15f8-b40e-459a-a27d-e91797bdf383] Performed CanvasSync::Jobs::ReportStarter (Job ID: 2cfc15f8-b40e-459a-a27d-e91797bdf383) from Async(default) in 14.59ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 24170697], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 24170697], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "c9c572e7523a0685a368856d5cc6776c"], ["created_at", "2018-01-03 16:10:15.481251"], ["updated_at", "2018-01-03 16:10:15.481251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 56583435], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 56583435], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "8f69f0e7956d14fd78f3ec4a9c0ba012"], ["created_at", "2018-01-03 16:10:15.484570"], ["updated_at", "2018-01-03 16:10:15.484570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 11974425], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 11974425], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "inactive"], ["sis_id", "2b8004d8bf86090d00f1d0cfe319832f"], ["created_at", "2018-01-03 16:10:15.486976"], ["updated_at", "2018-01-03 16:10:15.486976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c2682867-b502-424b-8f23-cd01bb0176e3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.488634"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:10:15.489067"], ["updated_at", "2018-01-03 16:10:15.489067"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:10:15.491612' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:10:15.491844' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ? [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.493383"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.493781"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c2682867-b502-424b-8f23-cd01bb0176e3] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c2682867-b502-424b-8f23-cd01bb0176e3) from Async(default) in 7.08ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 324454b7-4d27-4eda-ae2d-36df528e462c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.501269"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:10:15.501785"], ["updated_at", "2018-01-03 16:10:15.501785"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.517923"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.518330"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [324454b7-4d27-4eda-ae2d-36df528e462c] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 324454b7-4d27-4eda-ae2d-36df528e462c) from Async(default) in 19.22ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 78e69e98-fd11-45ec-9101-e8b54fa54fc8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.528306"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.528849"], ["updated_at", "2018-01-03 16:10:15.528849"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:10:15.536856"], ["updated_at", "2018-01-03 16:10:15.536856"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:10:15.538707"], ["updated_at", "2018-01-03 16:10:15.538707"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:10:15.540329"], ["updated_at", "2018-01-03 16:10:15.540329"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:10:15.542870"], ["updated_at", "2018-01-03 16:10:15.542870"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:10:15.545120"], ["updated_at", "2018-01-03 16:10:15.545120"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Load (0.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:10:15.547181"], ["updated_at", "2018-01-03 16:10:15.547181"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.548160"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.548494"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [78e69e98-fd11-45ec-9101-e8b54fa54fc8] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 78e69e98-fd11-45ec-9101-e8b54fa54fc8) from Async(default) in 21.43ms  (0.1ms) SELECT COUNT(*) FROM "terms"  (0.3ms) rollback transaction  (0.0ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 77dd0946-c645-479c-9555-d39eec6ad2f2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:10:15.554227"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:10:15.554560"], ["updated_at", "2018-01-03 16:10:15.554560"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 309c8b2e-5f31-4ce0-bc7b-30a648f5136f) to Async(default) at 2018-01-03 16:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:10:15.557185"], ["status", "success"], ["updated_at", "2018-01-03 16:10:15.557498"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [77dd0946-c645-479c-9555-d39eec6ad2f2] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 77dd0946-c645-479c-9555-d39eec6ad2f2) from Async(default) in 4.58ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 48183567], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 48183567], ["sis_id", "3e962e794c6d8471afcfb8d6d77136d0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:10:15.590755"], ["end_date", "2018-01-24 16:10:15.590903"], ["created_at", "2018-01-03 16:10:15.593005"], ["updated_at", "2018-01-03 16:10:15.593005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 64789374], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 64789374], ["sis_id", "6ade9755f977f8dcaf2b460f9074fc60"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:10:15.609457"], ["end_date", "2018-01-24 16:10:15.609694"], ["created_at", "2018-01-03 16:10:15.611182"], ["updated_at", "2018-01-03 16:10:15.611182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]] Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 64789374], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 42201604], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 42201604], ["sis_id", "32ac23ffdc6da4128d9066d70a93a15a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:10:15.622484"], ["end_date", "2018-01-24 16:10:15.622618"], ["created_at", "2018-01-03 16:10:15.623870"], ["updated_at", "2018-01-03 16:10:15.623870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 89134903], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 89134903], ["sis_id", "5798396a3f2cbe87967c416117b16bf8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:10:15.629716"], ["end_date", "2018-01-24 16:10:15.629798"], ["created_at", "2018-01-03 16:10:15.630775"], ["updated_at", "2018-01-03 16:10:15.630775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 59674059], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 59674059], ["sis_id", "a955d014d2f87bccbc08a440b8f565a7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:10:15.638068"], ["end_date", "2018-01-24 16:10:15.638167"], ["created_at", "2018-01-03 16:10:15.639027"], ["updated_at", "2018-01-03 16:10:15.639027"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 72838128], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 72838128], ["created_at", "2018-01-03 16:10:15.670939"], ["updated_at", "2018-01-03 16:10:15.670939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 22445761], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 22445761], ["created_at", "2018-01-03 16:10:15.680897"], ["updated_at", "2018-01-03 16:10:15.680897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ? [["LIMIT", 1]] Enrollment Exists (1.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 22445761], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 63330197], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 63330197], ["created_at", "2018-01-03 16:10:15.699720"], ["updated_at", "2018-01-03 16:10:15.699720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 82973204], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 82973204], ["created_at", "2018-01-03 16:10:15.706384"], ["updated_at", "2018-01-03 16:10:15.706384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 54162643], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 54162643], ["created_at", "2018-01-03 16:10:15.715192"], ["updated_at", "2018-01-03 16:10:15.715192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 43488155], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 43488155], ["created_at", "2018-01-03 16:10:15.747501"], ["updated_at", "2018-01-03 16:10:15.747501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 91480135], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 91480135], ["created_at", "2018-01-03 16:10:15.755296"], ["updated_at", "2018-01-03 16:10:15.755296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]] Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 91480135], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 61384372], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 61384372], ["created_at", "2018-01-03 16:10:15.762867"], ["updated_at", "2018-01-03 16:10:15.762867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 99732279], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 99732279], ["created_at", "2018-01-03 16:10:15.769653"], ["updated_at", "2018-01-03 16:10:15.769653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 83350194], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 83350194], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "b769eb89b22caf7c7477a413bf7320c6"], ["created_at", "2018-01-03 16:10:15.782865"], ["updated_at", "2018-01-03 16:10:15.782865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 33540795], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 33540795], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "bb4758ae047e264f0d962eb3b7dbd4dd"], ["created_at", "2018-01-03 16:10:15.802596"], ["updated_at", "2018-01-03 16:10:15.802596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ? [["LIMIT", 1]] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 33540795], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 96276899], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 96276899], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "47441350ff2290a0f6f886f0ab948dfb"], ["created_at", "2018-01-03 16:10:15.813766"], ["updated_at", "2018-01-03 16:10:15.813766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 51153415], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 51153415], ["name", "Cool Term"], ["start_at", "2018-01-01 16:10:15.820570"], ["end_at", "2018-01-06 16:10:15.820713"], ["workflow_state", "active"], ["sis_id", "f140089674f29a74170fd304f1b01396"], ["created_at", "2018-01-03 16:10:15.822807"], ["updated_at", "2018-01-03 16:10:15.822807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 48755990], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 48755990], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "inactive"], ["sis_id", "1ad5082f5c2d2b111739d159bb6986cf"], ["created_at", "2018-01-03 16:10:15.825885"], ["updated_at", "2018-01-03 16:10:15.825885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 42702441], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 42702441], ["name", "Cool Term"], ["start_at", "2017-11-03 16:10:15.826934"], ["end_at", "2017-12-03 16:10:15.827004"], ["workflow_state", "active"], ["sis_id", "99dceb1ebd4d52402c6ff1ae2c33dda9"], ["created_at", "2018-01-03 16:10:15.828226"], ["updated_at", "2018-01-03 16:10:15.828226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 14007140], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 14007140], ["name", "Cool Term"], ["start_at", "2018-07-03 16:10:15.829257"], ["end_at", "2019-01-03 16:10:15.829312"], ["workflow_state", "active"], ["sis_id", "19c920a102d8daca8d1d0ab06d12fd14"], ["created_at", "2018-01-03 16:10:15.830374"], ["updated_at", "2018-01-03 16:10:15.830374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:10:15.831685' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:10:15.831815' OR end_at IS NULL) [["workflow_state", "active"]]  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:10:15.848258"], ["updated_at", "2018-01-03 16:10:15.848258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:10:14.524206"], ["end_at", "2018-01-06 16:10:14.524450"], ["workflow_state", "active"], ["sis_id", "5fb20a514b3de32cb30191280aed797a"], ["created_at", "2018-01-03 16:10:15.857787"], ["updated_at", "2018-01-03 16:10:15.857787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ? [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ? [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:10:15.861259"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 72853089], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 72853089], ["sis_id", "bde9848256fa27f54d0f63d0e6b6f1ef"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:10:15.893017"], ["updated_at", "2018-01-03 16:10:15.893017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 40956358], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 40956358], ["sis_id", "0a2f7a1df636f5b9e43feec425a24a95"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:10:15.904585"], ["updated_at", "2018-01-03 16:10:15.904585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 40956358], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 30198139], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 30198139], ["sis_id", "a55b47902cba5fac8a1e1a87d20224c9"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:10:15.914824"], ["updated_at", "2018-01-03 16:10:15.914824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT sqlite_version(*) Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:10:15.926100','2018-01-03 16:10:15.926100'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:10:15.926100','2018-01-03 16:10:15.926100')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:10:15.933462','2018-01-03 16:10:15.933462'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:10:15.933462','2018-01-03 16:10:15.933462')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.9ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "enrollments" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Enrollment Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:10:15.950783','2018-01-03 16:10:15.950783'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:10:15.950783','2018-01-03 16:10:15.950783')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.3ms) rollback transaction  (0.0ms) begin transaction  (1.1ms) SELECT COUNT(*) FROM "sections" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.0ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:10:15.958362','2018-01-03 16:10:15.958362'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:10:15.958362','2018-01-03 16:10:15.958362')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:10:15.967710','2018-01-03 16:10:15.967710')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:10:15.993048','2018-01-03 16:10:15.993048'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:10:15.993048','2018-01-03 16:10:15.993048')  (0.1ms) RELEASE SAVEPOINT active_record_1 Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:10:15.995942','2018-01-03 16:10:15.995942'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:10:15.995942','2018-01-03 16:10:15.995942')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527] Performing GoodJob (Job ID: fcdc5e07-111d-4460-ac3a-d2fd8296a527) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.541139"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:18:56.563623"], ["updated_at", "2018-01-03 16:18:56.563623"]] [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.567864"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.568278"], ["id", 1]] [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fcdc5e07-111d-4460-ac3a-d2fd8296a527] Performed GoodJob (Job ID: fcdc5e07-111d-4460-ac3a-d2fd8296a527) from Async(default) in 28.68ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7] Performing BadJob (Job ID: 4ce33356-b9b1-4964-8a27-232503a6b2c7) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.577836"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:18:56.578486"], ["updated_at", "2018-01-03 16:18:56.578486"]] [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.580763"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:18:56.581096"], ["id", 1]] [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [4ce33356-b9b1-4964-8a27-232503a6b2c7] Error performing BadJob (Job ID: 4ce33356-b9b1-4964-8a27-232503a6b2c7) from Async(default) in 5.16ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65] Performing CanvasSync::Jobs::ReportChecker (Job ID: 48b41676-cc14-4bfc-b03e-443cc813bf65) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.588795"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.589245"], ["updated_at", "2018-01-03 16:18:56.589245"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65] SQL (0.1ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [48b41676-cc14-4bfc-b03e-443cc813bf65] Performed CanvasSync::Jobs::ReportChecker (Job ID: 48b41676-cc14-4bfc-b03e-443cc813bf65) from Async(default) in 10.49ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 647a8336-ff81-4f8c-9d46-71f651127d2f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.605420"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.605899"], ["updated_at", "2018-01-03 16:18:56.605899"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f]  (0.7ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0f1f47b7-3a32-410a-81ff-e02735125482) to Async(default) at 2018-01-03 16:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = ? [["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [647a8336-ff81-4f8c-9d46-71f651127d2f] Performed CanvasSync::Jobs::ReportChecker (Job ID: 647a8336-ff81-4f8c-9d46-71f651127d2f) from Async(default) in 17.31ms  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd] Performing CanvasSync::Jobs::ReportChecker (Job ID: e523c3f6-4282-4d74-bf9d-c2685ab29afd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.630287"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.630944"], ["updated_at", "2018-01-03 16:18:56.630944"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.637228"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:18:56.637741"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e523c3f6-4282-4d74-bf9d-c2685ab29afd] Error performing CanvasSync::Jobs::ReportChecker (Job ID: e523c3f6-4282-4d74-bf9d-c2685ab29afd) from Async(default) in 10.42ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 57dff082-d530-4a40-a98c-041527aa86ac) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.647272"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.648032"], ["updated_at", "2018-01-03 16:18:56.648032"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:18:56.652053"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.701576"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.702248"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [57dff082-d530-4a40-a98c-041527aa86ac] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 57dff082-d530-4a40-a98c-041527aa86ac) from Async(default) in 57.81ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584] Performing CanvasSync::Jobs::ReportStarter (Job ID: c86f52e8-2f7d-472a-9005-8066af173584) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.712828"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:18:56.713420"], ["updated_at", "2018-01-03 16:18:56.713420"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 93dcf51f-20ad-49e3-9be4-55fe91447c4f) to Async(default) at 2018-01-03 16:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.718196"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.718682"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c86f52e8-2f7d-472a-9005-8066af173584] Performed CanvasSync::Jobs::ReportStarter (Job ID: c86f52e8-2f7d-472a-9005-8066af173584) from Async(default) in 8.36ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 44828072], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 44828072], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "f822cd0ba16e4a9e2c2da9530d12ee3b"], ["created_at", "2018-01-03 16:18:56.757745"], ["updated_at", "2018-01-03 16:18:56.757745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 41839519], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 41839519], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "d731037f90a14ed69298a8e29c8cbe8a"], ["created_at", "2018-01-03 16:18:56.761680"], ["updated_at", "2018-01-03 16:18:56.761680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 93500531], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 93500531], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "inactive"], ["sis_id", "c92e05df5238262ed56892254ff3db95"], ["created_at", "2018-01-03 16:18:56.765199"], ["updated_at", "2018-01-03 16:18:56.765199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e0cab990-9d5a-4ea1-bb95-039da847811e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.769179"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:18:56.769884"], ["updated_at", "2018-01-03 16:18:56.769884"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:18:56.773770' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:18:56.774133' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ? [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.776018"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.776517"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0cab990-9d5a-4ea1-bb95-039da847811e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e0cab990-9d5a-4ea1-bb95-039da847811e) from Async(default) in 9.73ms  (0.3ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3190de86-b1e1-48b9-a2e6-3baf5082782f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.785403"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:18:56.785944"], ["updated_at", "2018-01-03 16:18:56.785944"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.789431"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.789970"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3190de86-b1e1-48b9-a2e6-3baf5082782f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3190de86-b1e1-48b9-a2e6-3baf5082782f) from Async(default) in 7.05ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 8e94dcbb-c0f9-4de0-9ea6-38807c7d487b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.809852"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.810529"], ["updated_at", "2018-01-03 16:18:56.810529"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:18:56.828558"], ["updated_at", "2018-01-03 16:18:56.828558"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:18:56.832411"], ["updated_at", "2018-01-03 16:18:56.832411"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:18:56.836022"], ["updated_at", "2018-01-03 16:18:56.836022"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:18:56.842111"], ["updated_at", "2018-01-03 16:18:56.842111"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:18:56.846070"], ["updated_at", "2018-01-03 16:18:56.846070"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:18:56.850291"], ["updated_at", "2018-01-03 16:18:56.850291"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] SQL (0.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.851876"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.852377"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e94dcbb-c0f9-4de0-9ea6-38807c7d487b] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 8e94dcbb-c0f9-4de0-9ea6-38807c7d487b) from Async(default) in 44.89ms  (0.1ms) SELECT COUNT(*) FROM "terms"  (0.4ms) rollback transaction  (0.1ms) begin transaction [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 401a2b34-e0c5-4258-af25-a6947c14cc7a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["started_at", "2018-01-03 16:18:56.862826"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:18:56.863631"], ["updated_at", "2018-01-03 16:18:56.863631"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a6daf08b-f672-41f7-ad15-0f0c4d1cf95a) to Async(default) at 2018-01-03 16:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "status" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ? [["completed_at", "2018-01-03 16:18:56.868710"], ["status", "success"], ["updated_at", "2018-01-03 16:18:56.869179"], ["id", 1]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [401a2b34-e0c5-4258-af25-a6947c14cc7a] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 401a2b34-e0c5-4258-af25-a6947c14cc7a) from Async(default) in 8.93ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 92910942], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 92910942], ["sis_id", "8a19abd1414c95faa7ed5c7bb62ad8c3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:18:56.908044"], ["end_date", "2018-01-24 16:18:56.908254"], ["created_at", "2018-01-03 16:18:56.910728"], ["updated_at", "2018-01-03 16:18:56.910728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 65183212], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 65183212], ["sis_id", "ce46f4bb7c29218240b5998fa8b6bdca"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:18:56.927646"], ["end_date", "2018-01-24 16:18:56.927791"], ["created_at", "2018-01-03 16:18:56.929082"], ["updated_at", "2018-01-03 16:18:56.929082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]] Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 65183212], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 96479675], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 96479675], ["sis_id", "038b989f1f435513c8ab506a9deaa7dc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:18:56.939646"], ["end_date", "2018-01-24 16:18:56.939765"], ["created_at", "2018-01-03 16:18:56.941414"], ["updated_at", "2018-01-03 16:18:56.941414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 82167341], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 82167341], ["sis_id", "5564fcb6dcf529b95742a79cfcbe1c47"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:18:56.951395"], ["end_date", "2018-01-24 16:18:56.951570"], ["created_at", "2018-01-03 16:18:56.953550"], ["updated_at", "2018-01-03 16:18:56.953550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ? [["canvas_course_id", 41948320], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_course_id", 41948320], ["sis_id", "0c2557554368800a621479a583527139"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:18:56.971324"], ["end_date", "2018-01-24 16:18:56.971509"], ["created_at", "2018-01-03 16:18:56.973137"], ["updated_at", "2018-01-03 16:18:56.973137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 9135991], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 9135991], ["created_at", "2018-01-03 16:18:57.012675"], ["updated_at", "2018-01-03 16:18:57.012675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 40934395], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 40934395], ["created_at", "2018-01-03 16:18:57.033823"], ["updated_at", "2018-01-03 16:18:57.033823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ? [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 40934395], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 21006694], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 21006694], ["created_at", "2018-01-03 16:18:57.048359"], ["updated_at", "2018-01-03 16:18:57.048359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 72300815], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 72300815], ["created_at", "2018-01-03 16:18:57.057225"], ["updated_at", "2018-01-03 16:18:57.057225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ? [["canvas_enrollment_id", 78805494], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 78805494], ["created_at", "2018-01-03 16:18:57.065139"], ["updated_at", "2018-01-03 16:18:57.065139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 24585573], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 24585573], ["created_at", "2018-01-03 16:18:57.102050"], ["updated_at", "2018-01-03 16:18:57.102050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 6613610], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 6613610], ["created_at", "2018-01-03 16:18:57.118804"], ["updated_at", "2018-01-03 16:18:57.118804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]] Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 6613610], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 61174377], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 61174377], ["created_at", "2018-01-03 16:18:57.128501"], ["updated_at", "2018-01-03 16:18:57.128501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ? [["canvas_section_id", 52958571], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_section_id", 52958571], ["created_at", "2018-01-03 16:18:57.135304"], ["updated_at", "2018-01-03 16:18:57.135304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 85273920], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 85273920], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "e7597096d0b382a9f7757e07677d818c"], ["created_at", "2018-01-03 16:18:57.147322"], ["updated_at", "2018-01-03 16:18:57.147322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 75875301], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 75875301], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "8671b579634631dadfdbfc0cc78a3a72"], ["created_at", "2018-01-03 16:18:57.167522"], ["updated_at", "2018-01-03 16:18:57.167522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ? [["LIMIT", 1]] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 75875301], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 29224049], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 29224049], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "993440c4d2d4af629816e06ef7938839"], ["created_at", "2018-01-03 16:18:57.181953"], ["updated_at", "2018-01-03 16:18:57.181953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 73071614], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 73071614], ["name", "Cool Term"], ["start_at", "2018-01-01 16:18:57.189799"], ["end_at", "2018-01-06 16:18:57.189896"], ["workflow_state", "active"], ["sis_id", "f983a2697751c1d20ebc7d0cb33dfc0f"], ["created_at", "2018-01-03 16:18:57.191929"], ["updated_at", "2018-01-03 16:18:57.191929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 67177521], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 67177521], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "inactive"], ["sis_id", "32a2cb38d7d6c89af40eac93ccce3603"], ["created_at", "2018-01-03 16:18:57.194936"], ["updated_at", "2018-01-03 16:18:57.194936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 74986465], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 74986465], ["name", "Cool Term"], ["start_at", "2017-11-03 16:18:57.196301"], ["end_at", "2017-12-03 16:18:57.196413"], ["workflow_state", "active"], ["sis_id", "0a48fee4c70a37598fc3733620dc1e51"], ["created_at", "2018-01-03 16:18:57.198241"], ["updated_at", "2018-01-03 16:18:57.198241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 89693283], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 89693283], ["name", "Cool Term"], ["start_at", "2018-07-03 16:18:57.199816"], ["end_at", "2019-01-03 16:18:57.200002"], ["workflow_state", "active"], ["sis_id", "42386cfc55e9e5ca3a10f80646e08737"], ["created_at", "2018-01-03 16:18:57.201598"], ["updated_at", "2018-01-03 16:18:57.201598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2018-01-18 16:18:57.203381' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:18:57.203633' OR end_at IS NULL) [["workflow_state", "active"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:18:57.220154"], ["updated_at", "2018-01-03 16:18:57.220154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:18:55.357838"], ["end_at", "2018-01-06 16:18:55.358083"], ["workflow_state", "active"], ["sis_id", "7f573a5c13630a86684f48eef3b025dc"], ["created_at", "2018-01-03 16:18:57.231655"], ["updated_at", "2018-01-03 16:18:57.231655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ? [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ? [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ? [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:18:57.237208"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 75624029], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 75624029], ["sis_id", "2da31c65bf0c7f602885b5da5d837bd2"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:18:57.277728"], ["updated_at", "2018-01-03 16:18:57.277728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 55154753], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 55154753], ["sis_id", "655f8d7dfa4b1e4c79e95aba84f171fb"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:18:57.291091"], ["updated_at", "2018-01-03 16:18:57.291091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 55154753], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ? [["canvas_user_id", 29610255], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 29610255], ["sis_id", "ded5ddf45a38cbf9794bfb2fde0469d6"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:18:57.304953"], ["updated_at", "2018-01-03 16:18:57.304953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT sqlite_version(*) Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:18:57.316496','2018-01-03 16:18:57.316496'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:18:57.316496','2018-01-03 16:18:57.316496')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:18:57.327132','2018-01-03 16:18:57.327132'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:18:57.327132','2018-01-03 16:18:57.327132')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ? [["LIMIT", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "enrollments" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:18:57.349774','2018-01-03 16:18:57.349774'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:18:57.349774','2018-01-03 16:18:57.349774')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "sections" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:18:57.362884','2018-01-03 16:18:57.362884'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:18:57.362884','2018-01-03 16:18:57.362884')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:18:57.374588','2018-01-03 16:18:57.374588')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT ? [["LIMIT", 1]]  (4.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:18:57.399987','2018-01-03 16:18:57.399987'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:18:57.399987','2018-01-03 16:18:57.399987')  (0.1ms) RELEASE SAVEPOINT active_record_1 Ignoring on_duplicate_key_update because it is not supported by the database.  (0.1ms) SAVEPOINT active_record_1 User Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:18:57.403365','2018-01-03 16:18:57.403365'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:18:57.403365','2018-01-03 16:18:57.403365')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs"  (0.1ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "canvas_sync_job_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "completed_at" datetime, "exception" varchar, "backtrace" text, "job_class" varchar, "status" varchar, "metadata" text, "job_arguments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) DROP TABLE IF EXISTS "courses"  (0.6ms) CREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "status" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments"  (0.7ms) CREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.6ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.6ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "sections"  (0.6ms) CREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_sections_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_sections_on_canvas_course_id' AND type='index'   (0.5ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms"  (0.5ms) CREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users"  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "login_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20171107213207)  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20170915210836);   (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-01-03 16:21:27.727129"], ["updated_at", "2018-01-03 16:21:27.727129"]]  (0.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs"  (0.1ms) SELECT sqlite_version(*)  (2.4ms) CREATE TABLE "canvas_sync_job_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "completed_at" datetime, "exception" varchar, "backtrace" text, "job_class" varchar, "status" varchar, "metadata" text, "job_arguments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) DROP TABLE IF EXISTS "courses"  (0.7ms) CREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "status" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments"  (0.6ms) CREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.5ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.7ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "sections"  (0.5ms) CREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_sections_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_sections_on_canvas_course_id' AND type='index'   (0.5ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms"  (0.5ms) CREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users"  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "login_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20171107213207)  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20170915210836);   (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-01-03 16:21:30.035495"], ["updated_at", "2018-01-03 16:21:30.035495"]]  (0.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs"  (0.1ms) SELECT sqlite_version(*)  (2.8ms) CREATE TABLE "canvas_sync_job_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "completed_at" datetime, "exception" varchar, "backtrace" text, "job_class" varchar, "status" varchar, "metadata" text, "job_arguments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) DROP TABLE IF EXISTS "courses"  (0.6ms) CREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "status" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments"  (0.7ms) CREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.5ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_on_canvas_course_id' AND type='index'   (0.6ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "sections"  (0.7ms) CREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_sections_on_canvas_course_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_sections_on_canvas_course_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms"  (0.6ms) CREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users"  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "login_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20171107213207)  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20170915210836);   (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-01-03 16:21:32.401412"], ["updated_at", "2018-01-03 16:21:32.401412"]]  (0.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateRoles (20180103162102)  (0.0ms) begin transaction  (0.0ms) rollback transaction  (127.8ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (530.3ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.2ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (16.4ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (6.2ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (4.0ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.5ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.5ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (4.8ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.0ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (5.9ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (8.0ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.9ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.2ms) DROP TABLE IF EXISTS "terms" CASCADE  (13.9ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.9ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (4.8ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.8ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180103162102)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20170915210836);   (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-01-03 16:30:02.526186"], ["updated_at", "2018-01-03 16:30:02.526186"]]  (0.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a] Performing GoodJob (Job ID: 803b350a-483a-465a-a956-55e670d8539a) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.772440"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:30:02.782917"], ["updated_at", "2018-01-03 16:30:02.782917"]] [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.786102"], ["status", "success"], ["updated_at", "2018-01-03 16:30:02.786613"], ["id", 1]] [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [803b350a-483a-465a-a956-55e670d8539a] Performed GoodJob (Job ID: 803b350a-483a-465a-a956-55e670d8539a) from Async(default) in 16.41ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b] Performing BadJob (Job ID: ed609672-412c-4711-9db5-18df2092749b) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.798437"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:30:02.799026"], ["updated_at", "2018-01-03 16:30:02.799026"]] [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:30:02.800662"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:30:02.800923"], ["id", 2]] [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ed609672-412c-4711-9db5-18df2092749b] Error performing BadJob (Job ID: ed609672-412c-4711-9db5-18df2092749b) from Async(default) in 4.38ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3] Performing CanvasSync::Jobs::ReportChecker (Job ID: 748a48a4-aaaa-4720-b9f6-3be85417d1f3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.807484"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.807868"], ["updated_at", "2018-01-03 16:30:02.807868"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [748a48a4-aaaa-4720-b9f6-3be85417d1f3] Performed CanvasSync::Jobs::ReportChecker (Job ID: 748a48a4-aaaa-4720-b9f6-3be85417d1f3) from Async(default) in 10.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120] Performing CanvasSync::Jobs::ReportChecker (Job ID: 24df6803-34d4-4139-bf54-6f5b9bc4e120) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.822064"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.822451"], ["updated_at", "2018-01-03 16:30:02.822451"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c92f2e3f-e0a0-4444-87e9-b473890331cb) to Async(default) at 2018-01-03 16:30:32 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24df6803-34d4-4139-bf54-6f5b9bc4e120] Performed CanvasSync::Jobs::ReportChecker (Job ID: 24df6803-34d4-4139-bf54-6f5b9bc4e120) from Async(default) in 5.53ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 642d78cd-944e-4f98-948c-eb73fe64798f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.833297"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.833946"], ["updated_at", "2018-01-03 16:30:02.833946"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:30:02.837549"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:30:02.837977"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [642d78cd-944e-4f98-948c-eb73fe64798f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 642d78cd-944e-4f98-948c-eb73fe64798f) from Async(default) in 7.46ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 158009ce-798d-472b-8966-9a0cd5db7b86) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.846350"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.846857"], ["updated_at", "2018-01-03 16:30:02.846857"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:30:02.849591"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.873170"], ["status", "success"], ["updated_at", "2018-01-03 16:30:02.873682"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [158009ce-798d-472b-8966-9a0cd5db7b86] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 158009ce-798d-472b-8966-9a0cd5db7b86) from Async(default) in 28.97ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266] Performing CanvasSync::Jobs::ReportStarter (Job ID: a5a05156-621d-4251-a40c-f0b34765d266) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.879684"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:30:02.880170"], ["updated_at", "2018-01-03 16:30:02.880170"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2134cd8e-a0ae-4d3d-a6f6-2e8040d654fb) to Async(default) at 2018-01-03 16:30:32 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.892322"], ["status", "success"], ["updated_at", "2018-01-03 16:30:02.892827"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5a05156-621d-4251-a40c-f0b34765d266] Performed CanvasSync::Jobs::ReportStarter (Job ID: a5a05156-621d-4251-a40c-f0b34765d266) from Async(default) in 15.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 98863119], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 98863119], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "cb10aedbef1428d9fe1749b9faacec6c"], ["created_at", "2018-01-03 16:30:02.925121"], ["updated_at", "2018-01-03 16:30:02.925121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 95416314], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 95416314], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "f1e2708c63a062d48c8b1dc0edee427a"], ["created_at", "2018-01-03 16:30:02.927482"], ["updated_at", "2018-01-03 16:30:02.927482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 64655438], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 64655438], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "inactive"], ["sis_id", "ec13270312b331a7585e40f87a8fd019"], ["created_at", "2018-01-03 16:30:02.929413"], ["updated_at", "2018-01-03 16:30:02.929413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f0b3c692-32c7-4f4f-92cb-f23dcaa4189e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.930884"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:30:02.931230"], ["updated_at", "2018-01-03 16:30:02.931230"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e] Term Load (1.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:30:02.933480' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:30:02.933745' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.936759"], ["status", "success"], ["updated_at", "2018-01-03 16:30:02.937291"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f0b3c692-32c7-4f4f-92cb-f23dcaa4189e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f0b3c692-32c7-4f4f-92cb-f23dcaa4189e) from Async(default) in 8.73ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 94c43f28-f54a-450f-a0b3-b52c02a1f605) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.944687"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:30:02.945233"], ["updated_at", "2018-01-03 16:30:02.945233"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.948002"], ["status", "success"], ["updated_at", "2018-01-03 16:30:02.948380"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [94c43f28-f54a-450f-a0b3-b52c02a1f605] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 94c43f28-f54a-450f-a0b3-b52c02a1f605) from Async(default) in 5.24ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 3a39934b-b917-450a-b39d-891ccb8496ce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.960594"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.961098"], ["updated_at", "2018-01-03 16:30:02.961098"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce] SQL (1.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:30:02.965771"], ["exception", "Footrest::HttpError::NotFound: HTTP ERROR: 404 (Not Found) GET http://test.instructure.com/api/v1/accounts/self/roles\n\n\n\n \n\n\n

Sinatra doesn’t know this ditty.

\n \n
\n Try this:\n
# in fake_canvas.rb\nclass FakeCanvas\n  get '/api/v1/accounts/self/roles' do\n    "Hello World"\n  end\nend\n
\n
\n\n\n\n{\n \"request\": {\n \"Accept\": \"application/json\",\n \"Authorization\": \"Bearer cool...\",\n \"User-Agent\": \"Footrest\"\n },\n \"response\": {\n \"content-type\": \"text/html;charset=utf-8\",\n \"x-cascade\": \"pass\",\n \"content-length\": \"557\",\n \"x-xss-protection\": \"1; mode=block\",\n \"x-content-type-options\": \"nosniff\",\n \"x-frame-options\": \"SAMEORIGIN\"\n }\n}"], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/http_error.rb:87:in `on_complete'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/response_middleware.rb:30:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/follow_redirects.rb:79:in `perform_with_redirection'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/follow_redirects.rb:65:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:56:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/client.rb:74:in `request'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/request.rb:25:in `request_with_params_in_url'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/request.rb:13:in `get'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/client/accounts.rb:34:in `list_roles'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_roles_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_roles_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_roles_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:30:02.966125"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [3a39934b-b917-450a-b39d-891ccb8496ce] Error performing CanvasSync::Jobs::SyncRolesJob (Job ID: 3a39934b-b917-450a-b39d-891ccb8496ce) from Async(default) in 9.09ms: Footrest::HttpError::NotFound (HTTP ERROR: 404 (Not Found) GET http://test.instructure.com/api/v1/accounts/self/roles

Sinatra doesn’t know this ditty.

Try this:
# in fake_canvas.rb
class FakeCanvas
  get '/api/v1/accounts/self/roles' do
    "Hello World"
  end
end
{ "request": { "Accept": "application/json", "Authorization": "Bearer cool...", "User-Agent": "Footrest" }, "response": { "content-type": "text/html;charset=utf-8", "x-cascade": "pass", "content-length": "557", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN" } }): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/http_error.rb:87:in `on_complete' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/response_middleware.rb:30:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/follow_redirects.rb:79:in `perform_with_redirection' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/follow_redirects.rb:65:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:56:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/client.rb:74:in `request' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/request.rb:25:in `request_with_params_in_url' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/footrest-0.5.1/lib/footrest/request.rb:13:in `get' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/client/accounts.rb:34:in `list_roles' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_roles_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_roles_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_roles_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 63d857df-cb30-4d1f-823a-ed49cfbd55c7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:02.974303"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:02.974687"], ["updated_at", "2018-01-03 16:30:02.974687"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:30:02.980386"], ["updated_at", "2018-01-03 16:30:02.980386"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:30:02.982818"], ["updated_at", "2018-01-03 16:30:02.982818"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:30:02.986007"], ["updated_at", "2018-01-03 16:30:02.986007"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:30:02.990232"], ["updated_at", "2018-01-03 16:30:02.990232"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:30:02.994123"], ["updated_at", "2018-01-03 16:30:02.994123"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:30:02.998522"], ["updated_at", "2018-01-03 16:30:02.998522"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:02.999728"], ["status", "success"], ["updated_at", "2018-01-03 16:30:03.000056"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [63d857df-cb30-4d1f-823a-ed49cfbd55c7] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 63d857df-cb30-4d1f-823a-ed49cfbd55c7) from Async(default) in 27.1ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: e9536739-0b14-463a-bd4f-0b18dfed6c9f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:30:03.005982"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:30:03.006371"], ["updated_at", "2018-01-03 16:30:03.006371"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5d3de911-f2dd-4008-acaf-9f003b5a2b39) to Async(default) at 2018-01-03 16:30:33 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:30:03.008725"], ["status", "success"], ["updated_at", "2018-01-03 16:30:03.009047"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e9536739-0b14-463a-bd4f-0b18dfed6c9f] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: e9536739-0b14-463a-bd4f-0b18dfed6c9f) from Async(default) in 4.31ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50870586], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50870586], ["sis_id", "30ff19d2e4777446d56594353a5e1b2b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:30:03.024373"], ["end_date", "2018-01-24 16:30:03.024480"], ["created_at", "2018-01-03 16:30:03.027938"], ["updated_at", "2018-01-03 16:30:03.027938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23988934], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23988934], ["sis_id", "07e402c8ccba57a0c85b025f07cec7dd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:30:03.044679"], ["end_date", "2018-01-24 16:30:03.044779"], ["created_at", "2018-01-03 16:30:03.046240"], ["updated_at", "2018-01-03 16:30:03.046240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23988934], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 45302274], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 45302274], ["sis_id", "c227c9f6e21ed85b37d1ad8fc63e94e1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:30:03.054172"], ["end_date", "2018-01-24 16:30:03.054256"], ["created_at", "2018-01-03 16:30:03.055180"], ["updated_at", "2018-01-03 16:30:03.055180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 54584742], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 54584742], ["sis_id", "be4a6df249c42edc96f58ac7375e7586"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:30:03.059271"], ["end_date", "2018-01-24 16:30:03.059341"], ["created_at", "2018-01-03 16:30:03.060246"], ["updated_at", "2018-01-03 16:30:03.060246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 71657978], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 71657978], ["sis_id", "c1c678021d8fa7c7222f1bcfef33a19c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:30:03.065446"], ["end_date", "2018-01-24 16:30:03.065543"], ["created_at", "2018-01-03 16:30:03.066607"], ["updated_at", "2018-01-03 16:30:03.066607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (4.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62198392], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62198392], ["created_at", "2018-01-03 16:30:03.089800"], ["updated_at", "2018-01-03 16:30:03.089800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 74692774], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 74692774], ["created_at", "2018-01-03 16:30:03.100347"], ["updated_at", "2018-01-03 16:30:03.100347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 74692774], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 53651776], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 53651776], ["created_at", "2018-01-03 16:30:03.107808"], ["updated_at", "2018-01-03 16:30:03.107808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 46848703], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 46848703], ["created_at", "2018-01-03 16:30:03.112560"], ["updated_at", "2018-01-03 16:30:03.112560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 73485483], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 73485483], ["created_at", "2018-01-03 16:30:03.117351"], ["updated_at", "2018-01-03 16:30:03.117351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (3.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 27522532], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 27522532], ["created_at", "2018-01-03 16:30:03.138756"], ["updated_at", "2018-01-03 16:30:03.138756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 30132624], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 30132624], ["created_at", "2018-01-03 16:30:03.149627"], ["updated_at", "2018-01-03 16:30:03.149627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 30132624], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76764453], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76764453], ["created_at", "2018-01-03 16:30:03.156346"], ["updated_at", "2018-01-03 16:30:03.156346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 95374266], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 95374266], ["created_at", "2018-01-03 16:30:03.160706"], ["updated_at", "2018-01-03 16:30:03.160706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 9808190], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 9808190], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "92ae4a495f67e837a13fc916be111fe4"], ["created_at", "2018-01-03 16:30:03.166484"], ["updated_at", "2018-01-03 16:30:03.166484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90158417], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 90158417], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "26040d2c3ac00fd2efaf3c45b5a00cc5"], ["created_at", "2018-01-03 16:30:03.172476"], ["updated_at", "2018-01-03 16:30:03.172476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90158417], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24891181], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 24891181], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "7200579c334ffb59f7732cfdfd2963f6"], ["created_at", "2018-01-03 16:30:03.178983"], ["updated_at", "2018-01-03 16:30:03.178983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 75786201], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 75786201], ["name", "Cool Term"], ["start_at", "2018-01-01 16:30:03.183060"], ["end_at", "2018-01-06 16:30:03.183197"], ["workflow_state", "active"], ["sis_id", "5074a240fafdc001882020473c16f76a"], ["created_at", "2018-01-03 16:30:03.185338"], ["updated_at", "2018-01-03 16:30:03.185338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16228481], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16228481], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "inactive"], ["sis_id", "8bc3eaa8db7262ebf3b8c15882c73620"], ["created_at", "2018-01-03 16:30:03.188521"], ["updated_at", "2018-01-03 16:30:03.188521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10567542], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10567542], ["name", "Cool Term"], ["start_at", "2017-11-03 16:30:03.190258"], ["end_at", "2017-12-03 16:30:03.190377"], ["workflow_state", "active"], ["sis_id", "669ffcfe5fab71e2806def5b9a4964bc"], ["created_at", "2018-01-03 16:30:03.192052"], ["updated_at", "2018-01-03 16:30:03.192052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 11467909], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 11467909], ["name", "Cool Term"], ["start_at", "2018-07-03 16:30:03.193495"], ["end_at", "2019-01-03 16:30:03.193577"], ["workflow_state", "active"], ["sis_id", "2fbbcab98d6db8b35368198b79fb3c11"], ["created_at", "2018-01-03 16:30:03.195132"], ["updated_at", "2018-01-03 16:30:03.195132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:30:03.196844' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:30:03.197055' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:30:03.203913"], ["updated_at", "2018-01-03 16:30:03.203913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:29:58.919528"], ["end_at", "2018-01-06 16:29:58.919700"], ["workflow_state", "active"], ["sis_id", "dfadadc926d842b5286de3467a27de40"], ["created_at", "2018-01-03 16:30:03.210997"], ["updated_at", "2018-01-03 16:30:03.210997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:30:03.214407"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 82633173], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 82633173], ["sis_id", "52d38e08b6ccd5b1ff84375c2972d8b7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:30:03.240440"], ["updated_at", "2018-01-03 16:30:03.240440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 97487508], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 97487508], ["sis_id", "a7c1725607a8cd46382f1e7bcd8db98a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:30:03.252418"], ["updated_at", "2018-01-03 16:30:03.252418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 97487508], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 55780472], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 55780472], ["sis_id", "05f431e997a2a893f193371202088405"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:30:03.264099"], ["updated_at", "2018-01-03 16:30:03.264099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:30:03.274206','2018-01-03 16:30:03.274206'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:30:03.274206','2018-01-03 16:30:03.274206') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (1.2ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:30:03.282496','2018-01-03 16:30:03.282496'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:30:03.282496','2018-01-03 16:30:03.282496') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:30:03.317707','2018-01-03 16:30:03.317707'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:30:03.317707','2018-01-03 16:30:03.317707') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "enrollments"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:30:03.327091','2018-01-03 16:30:03.327091'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:30:03.327091','2018-01-03 16:30:03.327091') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:30:03.337085','2018-01-03 16:30:03.337085') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:30:03.351090','2018-01-03 16:30:03.351090'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:30:03.351090','2018-01-03 16:30:03.351090') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:30:03.353075','2018-01-03 16:30:03.353075'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:30:03.353075','2018-01-03 16:30:03.353075') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742] Performing GoodJob (Job ID: 0796488a-39b7-4b70-be3d-f9f491d56742) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.238849"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:32:17.266972"], ["updated_at", "2018-01-03 16:32:17.266972"]] [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.270601"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.271149"], ["id", 13]] [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0796488a-39b7-4b70-be3d-f9f491d56742] Performed GoodJob (Job ID: 0796488a-39b7-4b70-be3d-f9f491d56742) from Async(default) in 34.66ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7] Performing BadJob (Job ID: 69cd681c-61e3-4038-b2dc-7a416ee141a7) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.285256"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:32:17.285878"], ["updated_at", "2018-01-03 16:32:17.285878"]] [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7] SQL (0.9ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:32:17.288682"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:32:17.289208"], ["id", 14]] [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [69cd681c-61e3-4038-b2dc-7a416ee141a7] Error performing BadJob (Job ID: 69cd681c-61e3-4038-b2dc-7a416ee141a7) from Async(default) in 7.46ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4] Performing CanvasSync::Jobs::ReportChecker (Job ID: 487d9847-d27b-4e95-9e73-f8ee372c0bf4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.300423"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.301053"], ["updated_at", "2018-01-03 16:32:17.301053"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4] SQL (0.4ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 15]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [487d9847-d27b-4e95-9e73-f8ee372c0bf4] Performed CanvasSync::Jobs::ReportChecker (Job ID: 487d9847-d27b-4e95-9e73-f8ee372c0bf4) from Async(default) in 13.4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7a942867-9eb4-4cbc-a306-3fd112678371) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.330259"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.331033"], ["updated_at", "2018-01-03 16:32:17.331033"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2bae0dce-4dcd-422f-bf19-8fad00fab7b2) to Async(default) at 2018-01-03 16:32:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371] SQL (0.5ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 16]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7a942867-9eb4-4cbc-a306-3fd112678371] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7a942867-9eb4-4cbc-a306-3fd112678371) from Async(default) in 9.65ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2] Performing CanvasSync::Jobs::ReportChecker (Job ID: b7d61305-1e79-470f-a599-0593b12dcef2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.347763"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.348428"], ["updated_at", "2018-01-03 16:32:17.348428"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2] SQL (1.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:32:17.352713"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:32:17.353217"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b7d61305-1e79-470f-a599-0593b12dcef2] Error performing CanvasSync::Jobs::ReportChecker (Job ID: b7d61305-1e79-470f-a599-0593b12dcef2) from Async(default) in 9.89ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.2ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: ea33d48c-666f-4a85-8dca-c22999fda6c2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.372067"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.372948"], ["updated_at", "2018-01-03 16:32:17.372948"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:32:17.377197"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.421148"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.422004"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea33d48c-666f-4a85-8dca-c22999fda6c2] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: ea33d48c-666f-4a85-8dca-c22999fda6c2) from Async(default) in 59.62ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 1f5abb14-473a-4a10-96de-69df079b752a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.439501"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:32:17.440194"], ["updated_at", "2018-01-03 16:32:17.440194"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 21a5fc55-90ad-4110-8281-0e4c209fce1c) to Async(default) at 2018-01-03 16:32:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.445535"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.446199"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1f5abb14-473a-4a10-96de-69df079b752a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 1f5abb14-473a-4a10-96de-69df079b752a) from Async(default) in 9.97ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (4.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10973269], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10973269], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "08fcdc64c4cf534c514f03b6c3a7723d"], ["created_at", "2018-01-03 16:32:17.493747"], ["updated_at", "2018-01-03 16:32:17.493747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7213383], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7213383], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "5c224da37d9c83d8a710722e2fb96557"], ["created_at", "2018-01-03 16:32:17.498055"], ["updated_at", "2018-01-03 16:32:17.498055"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 75158113], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 75158113], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "inactive"], ["sis_id", "45a4bb65ae618b9ea3b7b9162a9d6447"], ["created_at", "2018-01-03 16:32:17.501593"], ["updated_at", "2018-01-03 16:32:17.501593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e7e1a632-bda4-4dd5-a5dc-607707415903) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.504557"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:32:17.505467"], ["updated_at", "2018-01-03 16:32:17.505467"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903] Term Load (0.7ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:32:17.509981' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:32:17.510337' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.512949"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.513488"], ["id", 20]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e7e1a632-bda4-4dd5-a5dc-607707415903] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e7e1a632-bda4-4dd5-a5dc-607707415903) from Async(default) in 11.43ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4c51ae3b-0e52-4c34-b8a4-10263b8295f8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.522406"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:32:17.523161"], ["updated_at", "2018-01-03 16:32:17.523161"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.526772"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.527252"], ["id", 21]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4c51ae3b-0e52-4c34-b8a4-10263b8295f8] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4c51ae3b-0e52-4c34-b8a4-10263b8295f8) from Async(default) in 7.27ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 4b765cd9-2753-4665-b6a5-3702dd31ba39) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (3.4ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.550443"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.560115"], ["updated_at", "2018-01-03 16:32:17.560115"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] SQL (2.8ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 16:32:17.596910"], ["updated_at", "2018-01-03 16:32:17.596910"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] SQL (0.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 16:32:17.615192"], ["updated_at", "2018-01-03 16:32:17.615192"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.632239"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.632932"], ["id", 22]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b765cd9-2753-4665-b6a5-3702dd31ba39] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 4b765cd9-2753-4665-b6a5-3702dd31ba39) from Async(default) in 85.38ms  (0.3ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: c17a2fe6-a105-4a6e-9361-c822d5f02854) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.646581"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.647398"], ["updated_at", "2018-01-03 16:32:17.647398"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:32:17.660265"], ["updated_at", "2018-01-03 16:32:17.660265"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:32:17.665071"], ["updated_at", "2018-01-03 16:32:17.665071"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:32:17.669875"], ["updated_at", "2018-01-03 16:32:17.669875"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:32:17.684540"], ["updated_at", "2018-01-03 16:32:17.684540"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:32:17.689819"], ["updated_at", "2018-01-03 16:32:17.689819"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:32:17.694710"], ["updated_at", "2018-01-03 16:32:17.694710"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.696678"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.697284"], ["id", 23]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854]  (1.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c17a2fe6-a105-4a6e-9361-c822d5f02854] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: c17a2fe6-a105-4a6e-9361-c822d5f02854) from Async(default) in 54.68ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: c737a72e-bd5d-4bff-b5c1-458665bf5456) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:32:17.709106"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:32:17.709863"], ["updated_at", "2018-01-03 16:32:17.709863"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2d890513-a322-4e04-9a77-50b7b905325c) to Async(default) at 2018-01-03 16:32:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:32:17.715260"], ["status", "success"], ["updated_at", "2018-01-03 16:32:17.716025"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c737a72e-bd5d-4bff-b5c1-458665bf5456] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: c737a72e-bd5d-4bff-b5c1-458665bf5456) from Async(default) in 9.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (3.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1435650], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1435650], ["sis_id", "b3548ef79b93266623be764763b4357b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:32:17.754906"], ["end_date", "2018-01-24 16:32:17.755119"], ["created_at", "2018-01-03 16:32:17.760581"], ["updated_at", "2018-01-03 16:32:17.760581"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 82820814], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 82820814], ["sis_id", "ac8a1bbc360f74f02ddf06ece44a3697"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:32:17.780625"], ["end_date", "2018-01-24 16:32:17.780761"], ["created_at", "2018-01-03 16:32:17.782392"], ["updated_at", "2018-01-03 16:32:17.782392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 82820814], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 5698961], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 5698961], ["sis_id", "36ec2973bab88453f95b3ca4b05b56bc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:32:17.793357"], ["end_date", "2018-01-24 16:32:17.793544"], ["created_at", "2018-01-03 16:32:17.795530"], ["updated_at", "2018-01-03 16:32:17.795530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96129599], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96129599], ["sis_id", "302267b37c929d43ce2c021c91508961"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:32:17.804427"], ["end_date", "2018-01-24 16:32:17.804726"], ["created_at", "2018-01-03 16:32:17.806579"], ["updated_at", "2018-01-03 16:32:17.806579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 34732472], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 34732472], ["sis_id", "8737afe5e86827545dd2020f1d49525c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:32:17.825528"], ["end_date", "2018-01-24 16:32:17.825729"], ["created_at", "2018-01-03 16:32:17.827534"], ["updated_at", "2018-01-03 16:32:17.827534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (4.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 70752953], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 70752953], ["created_at", "2018-01-03 16:32:17.879518"], ["updated_at", "2018-01-03 16:32:17.879518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75532177], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 75532177], ["created_at", "2018-01-03 16:32:17.893716"], ["updated_at", "2018-01-03 16:32:17.893716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75532177], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 91750121], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 91750121], ["created_at", "2018-01-03 16:32:17.905645"], ["updated_at", "2018-01-03 16:32:17.905645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 61336364], ["LIMIT", 1]] SQL (5.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 61336364], ["created_at", "2018-01-03 16:32:17.919730"], ["updated_at", "2018-01-03 16:32:17.919730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22645125], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22645125], ["created_at", "2018-01-03 16:32:17.939480"], ["updated_at", "2018-01-03 16:32:17.939480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (4.0ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 58213376], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 58213376], ["created_at", "2018-01-03 16:32:17.984209"], ["updated_at", "2018-01-03 16:32:17.984209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 91720839], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 91720839], ["created_at", "2018-01-03 16:32:17.997978"], ["updated_at", "2018-01-03 16:32:17.997978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.3ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 91720839], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 4297276], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 4297276], ["created_at", "2018-01-03 16:32:18.011966"], ["updated_at", "2018-01-03 16:32:18.011966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 22525129], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 22525129], ["created_at", "2018-01-03 16:32:18.019939"], ["updated_at", "2018-01-03 16:32:18.019939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6043748], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 6043748], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "a26f6e4a0193572506f1e0de1e952ef6"], ["created_at", "2018-01-03 16:32:18.036757"], ["updated_at", "2018-01-03 16:32:18.036757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 95552401], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 95552401], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "264ed37de46a6183cd48f21ce19bc277"], ["created_at", "2018-01-03 16:32:18.049320"], ["updated_at", "2018-01-03 16:32:18.049320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 95552401], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 17336149], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 17336149], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "9888891a4b10b428c4fcefe9981c71a2"], ["created_at", "2018-01-03 16:32:18.064583"], ["updated_at", "2018-01-03 16:32:18.064583"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36694137], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36694137], ["name", "Cool Term"], ["start_at", "2018-01-01 16:32:18.072313"], ["end_at", "2018-01-06 16:32:18.072416"], ["workflow_state", "active"], ["sis_id", "6a22936ef6bda346355b461c2adae18b"], ["created_at", "2018-01-03 16:32:18.074662"], ["updated_at", "2018-01-03 16:32:18.074662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6087298], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 6087298], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "inactive"], ["sis_id", "4fabd995df00e36bcb41b0dd35dba3c1"], ["created_at", "2018-01-03 16:32:18.078461"], ["updated_at", "2018-01-03 16:32:18.078461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80047880], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80047880], ["name", "Cool Term"], ["start_at", "2017-11-03 16:32:18.081015"], ["end_at", "2017-12-03 16:32:18.081159"], ["workflow_state", "active"], ["sis_id", "668bc39f176c4f1369ee59a547ac3682"], ["created_at", "2018-01-03 16:32:18.083576"], ["updated_at", "2018-01-03 16:32:18.083576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 98098297], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 98098297], ["name", "Cool Term"], ["start_at", "2018-07-03 16:32:18.085916"], ["end_at", "2019-01-03 16:32:18.086006"], ["workflow_state", "active"], ["sis_id", "462e1572508d23393211a81b6a22dc75"], ["created_at", "2018-01-03 16:32:18.097203"], ["updated_at", "2018-01-03 16:32:18.097203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:32:18.099713' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:32:18.100012' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:32:18.112078"], ["updated_at", "2018-01-03 16:32:18.112078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.3ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:32:15.856442"], ["end_at", "2018-01-06 16:32:15.856814"], ["workflow_state", "active"], ["sis_id", "d24e6f19c82254e925cd19d546e286f0"], ["created_at", "2018-01-03 16:32:18.125310"], ["updated_at", "2018-01-03 16:32:18.125310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.4ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:32:18.131267"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (3.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 51807705], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 51807705], ["sis_id", "3deb9d4bea7a4595ac54aa63d110fc8d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:32:18.176453"], ["updated_at", "2018-01-03 16:32:18.176453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 92463607], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 92463607], ["sis_id", "a62052d7e335d2e482b62210e65d4d9f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:32:18.190649"], ["updated_at", "2018-01-03 16:32:18.190649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 92463607], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53216555], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 53216555], ["sis_id", "e0df8105c892668cac61ab09eca215da"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:32:18.202907"], ["updated_at", "2018-01-03 16:32:18.202907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (3.1ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:32:18.224304','2018-01-03 16:32:18.224304'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:32:18.224304','2018-01-03 16:32:18.224304') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:32:18.247833','2018-01-03 16:32:18.247833'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:32:18.247833','2018-01-03 16:32:18.247833') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.9ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:32:18.295978','2018-01-03 16:32:18.295978'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:32:18.295978','2018-01-03 16:32:18.295978') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "enrollments"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:32:18.309561','2018-01-03 16:32:18.309561'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:32:18.309561','2018-01-03 16:32:18.309561') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:32:18.322345','2018-01-03 16:32:18.322345') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.9ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:32:18.347240','2018-01-03 16:32:18.347240'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:32:18.347240','2018-01-03 16:32:18.347240') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:32:18.351276','2018-01-03 16:32:18.351276'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:32:18.351276','2018-01-03 16:32:18.351276') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa] Performing GoodJob (Job ID: 65c7cb33-758b-4f6c-94d0-19e423bb79fa) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.051113"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:36:05.061782"], ["updated_at", "2018-01-03 16:36:05.061782"]] [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.064647"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.064914"], ["id", 25]] [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [65c7cb33-758b-4f6c-94d0-19e423bb79fa] Performed GoodJob (Job ID: 65c7cb33-758b-4f6c-94d0-19e423bb79fa) from Async(default) in 15.16ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c] Performing BadJob (Job ID: 9dc2283e-6fae-4daf-93ef-c01f904c430c) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.072564"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:36:05.072878"], ["updated_at", "2018-01-03 16:36:05.072878"]] [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:36:05.074219"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:36:05.074555"], ["id", 26]] [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9dc2283e-6fae-4daf-93ef-c01f904c430c] Error performing BadJob (Job ID: 9dc2283e-6fae-4daf-93ef-c01f904c430c) from Async(default) in 4.57ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08] Performing CanvasSync::Jobs::ReportChecker (Job ID: f5991949-6c6e-41d9-8909-d55382cb0b08) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.083190"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.083749"], ["updated_at", "2018-01-03 16:36:05.083749"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 27]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f5991949-6c6e-41d9-8909-d55382cb0b08] Performed CanvasSync::Jobs::ReportChecker (Job ID: f5991949-6c6e-41d9-8909-d55382cb0b08) from Async(default) in 10.22ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d] Performing CanvasSync::Jobs::ReportChecker (Job ID: 6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.097131"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.097536"], ["updated_at", "2018-01-03 16:36:05.097536"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4cefaeda-1999-4151-a9f3-a78420252877) to Async(default) at 2018-01-03 16:36:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 28]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d] Performed CanvasSync::Jobs::ReportChecker (Job ID: 6d26aef9-1ea3-4dcf-b4dc-58e28d38c63d) from Async(default) in 5.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450] Performing CanvasSync::Jobs::ReportChecker (Job ID: 98574981-6d1a-438c-81a6-640cb42f3450) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.114834"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.115297"], ["updated_at", "2018-01-03 16:36:05.115297"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:36:05.117891"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:36:05.118194"], ["id", 29]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [98574981-6d1a-438c-81a6-640cb42f3450] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 98574981-6d1a-438c-81a6-640cb42f3450) from Async(default) in 5.45ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 41f2e27e-774d-4d3c-b6b9-fbdc2b210261) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.124051"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.124486"], ["updated_at", "2018-01-03 16:36:05.124486"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:36:05.127536"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.155746"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.156322"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41f2e27e-774d-4d3c-b6b9-fbdc2b210261] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 41f2e27e-774d-4d3c-b6b9-fbdc2b210261) from Async(default) in 34.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53] Performing CanvasSync::Jobs::ReportStarter (Job ID: a5e26a30-2f2c-4baa-91ac-633a0b3edb53) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53] SQL (2.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.162692"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:36:05.163132"], ["updated_at", "2018-01-03 16:36:05.163132"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5f7bb4c5-1598-4b64-9172-57a086573621) to Async(default) at 2018-01-03 16:36:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.173490"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.173857"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a5e26a30-2f2c-4baa-91ac-633a0b3edb53] Performed CanvasSync::Jobs::ReportStarter (Job ID: a5e26a30-2f2c-4baa-91ac-633a0b3edb53) from Async(default) in 13.48ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 31722553], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 31722553], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "fb4b5ce7d0678aed60a083d0c2baf502"], ["created_at", "2018-01-03 16:36:05.205148"], ["updated_at", "2018-01-03 16:36:05.205148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 2020465], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 2020465], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "e90ba881ad8210bb22d75a971de970bf"], ["created_at", "2018-01-03 16:36:05.207279"], ["updated_at", "2018-01-03 16:36:05.207279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27311643], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27311643], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "inactive"], ["sis_id", "8d538b32843a9f8ec0ca38dd385169fa"], ["created_at", "2018-01-03 16:36:05.209217"], ["updated_at", "2018-01-03 16:36:05.209217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 14d07b6b-25b9-4e02-ba9b-7b32f9b406a6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.210658"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:36:05.211057"], ["updated_at", "2018-01-03 16:36:05.211057"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:36:05.213020' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:36:05.213181' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.214436"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.214746"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [14d07b6b-25b9-4e02-ba9b-7b32f9b406a6] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 14d07b6b-25b9-4e02-ba9b-7b32f9b406a6) from Async(default) in 5.44ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5444d4c8-daec-462b-944d-a69ed418bf19) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.219573"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:36:05.219972"], ["updated_at", "2018-01-03 16:36:05.219972"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.221931"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.222247"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5444d4c8-daec-462b-944d-a69ed418bf19] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5444d4c8-daec-462b-944d-a69ed418bf19) from Async(default) in 4.05ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 0ccca0ac-e42a-45c0-821e-5acc7f3437a5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.246054"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.246487"], ["updated_at", "2018-01-03 16:36:05.246487"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 16:36:05.263990"], ["updated_at", "2018-01-03 16:36:05.263990"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (1.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 16:36:05.280518"], ["updated_at", "2018-01-03 16:36:05.280518"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.288439"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.289024"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [0ccca0ac-e42a-45c0-821e-5acc7f3437a5] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 0ccca0ac-e42a-45c0-821e-5acc7f3437a5) from Async(default) in 45.16ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.297893"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.298293"], ["updated_at", "2018-01-03 16:36:05.298293"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:36:05.304974"], ["updated_at", "2018-01-03 16:36:05.304974"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:05.307145"], ["updated_at", "2018-01-03 16:36:05.307145"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:05.309264"], ["updated_at", "2018-01-03 16:36:05.309264"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:36:05.311837"], ["updated_at", "2018-01-03 16:36:05.311837"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:36:05.314570"], ["updated_at", "2018-01-03 16:36:05.314570"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:05.317103"], ["updated_at", "2018-01-03 16:36:05.317103"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.318023"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.318296"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 6e66bdc6-42ce-4888-a7f2-2e4ffc5eccd0) from Async(default) in 21.7ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:05.323247"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:05.323590"], ["updated_at", "2018-01-03 16:36:05.323590"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e5cd811d-d330-46b3-8a9e-55c2665094dc) to Async(default) at 2018-01-03 16:36:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd]  (0.3ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:05.332684"], ["status", "success"], ["updated_at", "2018-01-03 16:36:05.336612"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 9ee8dea2-eadf-4c93-ac89-1d2fd7ec96bd) from Async(default) in 17.73ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 40840981], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 40840981], ["sis_id", "837b2414ec18fb64591eb0405e9efd90"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:05.357583"], ["end_date", "2018-01-24 16:36:05.357688"], ["created_at", "2018-01-03 16:36:05.361023"], ["updated_at", "2018-01-03 16:36:05.361023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90339319], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 90339319], ["sis_id", "002890884efa189999c8f097eff27038"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:05.373038"], ["end_date", "2018-01-24 16:36:05.373113"], ["created_at", "2018-01-03 16:36:05.373933"], ["updated_at", "2018-01-03 16:36:05.373933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90339319], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73552857], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 73552857], ["sis_id", "4cd2520517810e4a259b937a6eae3796"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:05.391411"], ["end_date", "2018-01-24 16:36:05.391520"], ["created_at", "2018-01-03 16:36:05.392507"], ["updated_at", "2018-01-03 16:36:05.392507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 17788702], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 17788702], ["sis_id", "f6a8dd4fd05966699d790a4a7bc4a125"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:05.396656"], ["end_date", "2018-01-24 16:36:05.396767"], ["created_at", "2018-01-03 16:36:05.398863"], ["updated_at", "2018-01-03 16:36:05.398863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43037674], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43037674], ["sis_id", "1acf7d28c1e39f963693ebc37a28f581"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:05.402779"], ["end_date", "2018-01-24 16:36:05.402847"], ["created_at", "2018-01-03 16:36:05.403726"], ["updated_at", "2018-01-03 16:36:05.403726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (10.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 84992468], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 84992468], ["created_at", "2018-01-03 16:36:05.431849"], ["updated_at", "2018-01-03 16:36:05.431849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22722904], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22722904], ["created_at", "2018-01-03 16:36:05.441949"], ["updated_at", "2018-01-03 16:36:05.441949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22722904], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 90737495], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 90737495], ["created_at", "2018-01-03 16:36:05.449760"], ["updated_at", "2018-01-03 16:36:05.449760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 64835864], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 64835864], ["created_at", "2018-01-03 16:36:05.454321"], ["updated_at", "2018-01-03 16:36:05.454321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18294984], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18294984], ["created_at", "2018-01-03 16:36:05.458193"], ["updated_at", "2018-01-03 16:36:05.458193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.8ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 81330640], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 81330640], ["created_at", "2018-01-03 16:36:05.473886"], ["updated_at", "2018-01-03 16:36:05.473886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64537901], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64537901], ["created_at", "2018-01-03 16:36:05.491601"], ["updated_at", "2018-01-03 16:36:05.491601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64537901], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 77909061], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 77909061], ["created_at", "2018-01-03 16:36:05.498582"], ["updated_at", "2018-01-03 16:36:05.498582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 22239436], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 22239436], ["created_at", "2018-01-03 16:36:05.504163"], ["updated_at", "2018-01-03 16:36:05.504163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 28112641], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 28112641], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "0fec7221f0e6da4a0dc2a5c6cdc90670"], ["created_at", "2018-01-03 16:36:05.508928"], ["updated_at", "2018-01-03 16:36:05.508928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27198562], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27198562], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "a40cd4ea7c81e1588a24f4820e77b013"], ["created_at", "2018-01-03 16:36:05.514867"], ["updated_at", "2018-01-03 16:36:05.514867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27198562], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 56853322], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 56853322], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "539567c348d5c769f7ca08f097f89f84"], ["created_at", "2018-01-03 16:36:05.520994"], ["updated_at", "2018-01-03 16:36:05.520994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43669025], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 43669025], ["name", "Cool Term"], ["start_at", "2018-01-01 16:36:05.524338"], ["end_at", "2018-01-06 16:36:05.524420"], ["workflow_state", "active"], ["sis_id", "e3d34c9e80da0a2c56b2d6cd6b097a91"], ["created_at", "2018-01-03 16:36:05.526144"], ["updated_at", "2018-01-03 16:36:05.526144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 64997640], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 64997640], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "inactive"], ["sis_id", "24f7930fa069473744184a76e1d06d3e"], ["created_at", "2018-01-03 16:36:05.529159"], ["updated_at", "2018-01-03 16:36:05.529159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26612814], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26612814], ["name", "Cool Term"], ["start_at", "2017-11-03 16:36:05.530470"], ["end_at", "2017-12-03 16:36:05.530604"], ["workflow_state", "active"], ["sis_id", "37f697c831e64919704e65cbf967f493"], ["created_at", "2018-01-03 16:36:05.532107"], ["updated_at", "2018-01-03 16:36:05.532107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 62796311], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 62796311], ["name", "Cool Term"], ["start_at", "2018-07-03 16:36:05.533622"], ["end_at", "2019-01-03 16:36:05.533690"], ["workflow_state", "active"], ["sis_id", "8ac4e1e840287b8f99037c23e2364efb"], ["created_at", "2018-01-03 16:36:05.541133"], ["updated_at", "2018-01-03 16:36:05.541133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:36:05.543105' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:36:05.543285' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:36:05.550328"], ["updated_at", "2018-01-03 16:36:05.550328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:04.240173"], ["end_at", "2018-01-06 16:36:04.240382"], ["workflow_state", "active"], ["sis_id", "fd5e4a8a641af482412f4909cb98007f"], ["created_at", "2018-01-03 16:36:05.557557"], ["updated_at", "2018-01-03 16:36:05.557557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:36:05.560886"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (2.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 33309560], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 33309560], ["sis_id", "81ba064256d92f573fbd04ef7eb15614"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:05.579856"], ["updated_at", "2018-01-03 16:36:05.579856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2644769], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 2644769], ["sis_id", "d57114662983686467b8176765ca2f1c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:05.596019"], ["updated_at", "2018-01-03 16:36:05.596019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2644769], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 71008115], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 71008115], ["sis_id", "1ff5904081d5dd0b6b017697d1345066"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:05.603925"], ["updated_at", "2018-01-03 16:36:05.603925"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:36:05.615349','2018-01-03 16:36:05.615349'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:36:05.615349','2018-01-03 16:36:05.615349') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:36:05.621076','2018-01-03 16:36:05.621076'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:36:05.621076','2018-01-03 16:36:05.621076') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:36:05.651179','2018-01-03 16:36:05.651179'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:36:05.651179','2018-01-03 16:36:05.651179') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (1.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:36:05.657845','2018-01-03 16:36:05.657845'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:36:05.657845','2018-01-03 16:36:05.657845') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:36:05.665344','2018-01-03 16:36:05.665344') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:36:05.673912','2018-01-03 16:36:05.673912'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:36:05.673912','2018-01-03 16:36:05.673912') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:36:05.676102','2018-01-03 16:36:05.676102'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:36:05.676102','2018-01-03 16:36:05.676102') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6] Performing GoodJob (Job ID: c0792baa-6fdb-4397-a11e-b880f65ac2c6) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6] SQL (0.7ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.052782"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:36:33.064362"], ["updated_at", "2018-01-03 16:36:33.064362"]] [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.066953"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.067220"], ["id", 37]] [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c0792baa-6fdb-4397-a11e-b880f65ac2c6] Performed GoodJob (Job ID: c0792baa-6fdb-4397-a11e-b880f65ac2c6) from Async(default) in 15.76ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf] Performing BadJob (Job ID: 91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.074616"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 16:36:33.075019"], ["updated_at", "2018-01-03 16:36:33.075019"]] [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:36:33.076682"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:36:33.077019"], ["id", 38]] [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf] Error performing BadJob (Job ID: 91279ce4-ee73-4ac7-a79c-8ef4b0d54bbf) from Async(default) in 4.51ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310] Performing CanvasSync::Jobs::ReportChecker (Job ID: c66b60c7-f5bd-4d88-ae44-e4bee6c05310) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.084865"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.085366"], ["updated_at", "2018-01-03 16:36:33.085366"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 39]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c66b60c7-f5bd-4d88-ae44-e4bee6c05310] Performed CanvasSync::Jobs::ReportChecker (Job ID: c66b60c7-f5bd-4d88-ae44-e4bee6c05310) from Async(default) in 9.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7b13ed03-1cd8-4afd-ad12-52d4d3784bda) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.098627"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.099042"], ["updated_at", "2018-01-03 16:36:33.099042"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 94f27181-b5e0-4dd6-9934-f6c373cf1dd9) to Async(default) at 2018-01-03 16:37:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 40]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7b13ed03-1cd8-4afd-ad12-52d4d3784bda] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7b13ed03-1cd8-4afd-ad12-52d4d3784bda) from Async(default) in 6.44ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2e776fdb-9a47-4173-b00a-ed423d0b86dd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.118224"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.118661"], ["updated_at", "2018-01-03 16:36:33.118661"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 16:36:33.121204"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 16:36:33.121514"], ["id", 41]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2e776fdb-9a47-4173-b00a-ed423d0b86dd] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 2e776fdb-9a47-4173-b00a-ed423d0b86dd) from Async(default) in 5.26ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 5fb9135d-ca64-41e9-b2b1-9380953d1480) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.128551"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.128980"], ["updated_at", "2018-01-03 16:36:33.128980"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 16:36:33.133060"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.158994"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.159526"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [5fb9135d-ca64-41e9-b2b1-9380953d1480] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 5fb9135d-ca64-41e9-b2b1-9380953d1480) from Async(default) in 32.59ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295] Performing CanvasSync::Jobs::ReportStarter (Job ID: 18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.173649"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 16:36:33.174437"], ["updated_at", "2018-01-03 16:36:33.174437"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 95f7b474-e617-4e75-835a-c64a35fe0ebd) to Async(default) at 2018-01-03 16:37:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.179263"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.179717"], ["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295] Performed CanvasSync::Jobs::ReportStarter (Job ID: 18499aa2-ecb5-4eeb-aaf7-5ca8c7b11295) from Async(default) in 8.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82296368], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82296368], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "5566f9a78aad860b676c3a15fa632e51"], ["created_at", "2018-01-03 16:36:33.206825"], ["updated_at", "2018-01-03 16:36:33.206825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36247773], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36247773], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "251828136c27673ab6116751f23a30ad"], ["created_at", "2018-01-03 16:36:33.209484"], ["updated_at", "2018-01-03 16:36:33.209484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93649660], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93649660], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "inactive"], ["sis_id", "1296e59eca3aa14cfb32459ba70a5ff8"], ["created_at", "2018-01-03 16:36:33.211364"], ["updated_at", "2018-01-03 16:36:33.211364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: acfe0268-b3e2-4191-aef7-7d83c7b6242f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.212829"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 16:36:33.213210"], ["updated_at", "2018-01-03 16:36:33.213210"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:36:33.215201' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:36:33.215370' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.216643"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.216931"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [acfe0268-b3e2-4191-aef7-7d83c7b6242f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: acfe0268-b3e2-4191-aef7-7d83c7b6242f) from Async(default) in 5.43ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ca852cd7-ee90-4647-b13c-a5bf39cb3e8a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.222110"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 16:36:33.222495"], ["updated_at", "2018-01-03 16:36:33.222495"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a]  (0.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.231808"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.232431"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ca852cd7-ee90-4647-b13c-a5bf39cb3e8a] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ca852cd7-ee90-4647-b13c-a5bf39cb3e8a) from Async(default) in 13.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 9aa83942-627d-449f-be91-90f3774620a5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.250338"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.250727"], ["updated_at", "2018-01-03 16:36:33.250727"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 16:36:33.268084"], ["updated_at", "2018-01-03 16:36:33.268084"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 16:36:33.277936"], ["updated_at", "2018-01-03 16:36:33.277936"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.291074"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.291515"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [9aa83942-627d-449f-be91-90f3774620a5] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 9aa83942-627d-449f-be91-90f3774620a5) from Async(default) in 42.86ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 2c8c2e00-b497-4c46-985d-80052929059e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.299381"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.299767"], ["updated_at", "2018-01-03 16:36:33.299767"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:36:33.307626"], ["updated_at", "2018-01-03 16:36:33.307626"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:33.309960"], ["updated_at", "2018-01-03 16:36:33.309960"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:33.312140"], ["updated_at", "2018-01-03 16:36:33.312140"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 16:36:33.318411"], ["updated_at", "2018-01-03 16:36:33.318411"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 16:36:33.321049"], ["updated_at", "2018-01-03 16:36:33.321049"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 16:36:33.323571"], ["updated_at", "2018-01-03 16:36:33.323571"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.325091"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.325647"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2c8c2e00-b497-4c46-985d-80052929059e] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 2c8c2e00-b497-4c46-985d-80052929059e) from Async(default) in 28.39ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 16:36:33.333952"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 16:36:33.334571"], ["updated_at", "2018-01-03 16:36:33.334571"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87]  (1.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: b72f496c-929c-4da7-a6ee-babb80436a49) to Async(default) at 2018-01-03 16:37:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 16:36:33.346206"], ["status", "success"], ["updated_at", "2018-01-03 16:36:33.346630"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: e7f2b11b-7ca5-44a9-81df-95ea9eb3eb87) from Async(default) in 14.58ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 28988643], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 28988643], ["sis_id", "e52f338abe8fcd047b9cfeb683a53995"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:33.368753"], ["end_date", "2018-01-24 16:36:33.368872"], ["created_at", "2018-01-03 16:36:33.371318"], ["updated_at", "2018-01-03 16:36:33.371318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 79532156], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 79532156], ["sis_id", "7f33b4888f316b714bbad76eb8ac5633"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:33.383355"], ["end_date", "2018-01-24 16:36:33.383453"], ["created_at", "2018-01-03 16:36:33.384634"], ["updated_at", "2018-01-03 16:36:33.384634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 79532156], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 26356254], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 26356254], ["sis_id", "94f8ac3bd309b6c137ace6b2ebffaa3a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:33.401666"], ["end_date", "2018-01-24 16:36:33.401804"], ["created_at", "2018-01-03 16:36:33.402866"], ["updated_at", "2018-01-03 16:36:33.402866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9151463], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9151463], ["sis_id", "076b4bbd38d2de7c359ac9b94a1c9ed3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:33.407839"], ["end_date", "2018-01-24 16:36:33.407918"], ["created_at", "2018-01-03 16:36:33.408886"], ["updated_at", "2018-01-03 16:36:33.408886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 61556031], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 61556031], ["sis_id", "544e97cdd4a50744168d033b445f2bb6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 16:36:33.414239"], ["end_date", "2018-01-24 16:36:33.414309"], ["created_at", "2018-01-03 16:36:33.415180"], ["updated_at", "2018-01-03 16:36:33.415180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 77474975], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 77474975], ["created_at", "2018-01-03 16:36:33.437716"], ["updated_at", "2018-01-03 16:36:33.437716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 49622536], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 49622536], ["created_at", "2018-01-03 16:36:33.444739"], ["updated_at", "2018-01-03 16:36:33.444739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (3.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 49622536], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 77293485], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 77293485], ["created_at", "2018-01-03 16:36:33.462115"], ["updated_at", "2018-01-03 16:36:33.462115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 19436914], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 19436914], ["created_at", "2018-01-03 16:36:33.469479"], ["updated_at", "2018-01-03 16:36:33.469479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 28332817], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 28332817], ["created_at", "2018-01-03 16:36:33.474810"], ["updated_at", "2018-01-03 16:36:33.474810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (5.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76265684], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76265684], ["created_at", "2018-01-03 16:36:33.503783"], ["updated_at", "2018-01-03 16:36:33.503783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 23430039], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 23430039], ["created_at", "2018-01-03 16:36:33.511344"], ["updated_at", "2018-01-03 16:36:33.511344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 23430039], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 51343266], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 51343266], ["created_at", "2018-01-03 16:36:33.519046"], ["updated_at", "2018-01-03 16:36:33.519046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 49113142], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 49113142], ["created_at", "2018-01-03 16:36:33.523060"], ["updated_at", "2018-01-03 16:36:33.523060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32701426], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 32701426], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "1a56ed80dbc2b02a53eee3b592dd7972"], ["created_at", "2018-01-03 16:36:33.529144"], ["updated_at", "2018-01-03 16:36:33.529144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3067019], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 3067019], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "7a89785b0c0331e0c7aacf07d05e9042"], ["created_at", "2018-01-03 16:36:33.538782"], ["updated_at", "2018-01-03 16:36:33.538782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3067019], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38514904], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38514904], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "12eb62761e3e11aa36b8c3026d8cbd7a"], ["created_at", "2018-01-03 16:36:33.546445"], ["updated_at", "2018-01-03 16:36:33.546445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 75786718], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 75786718], ["name", "Cool Term"], ["start_at", "2018-01-01 16:36:33.559301"], ["end_at", "2018-01-06 16:36:33.559389"], ["workflow_state", "active"], ["sis_id", "311c247e5a1440f73a7109b189668969"], ["created_at", "2018-01-03 16:36:33.560969"], ["updated_at", "2018-01-03 16:36:33.560969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 42194376], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 42194376], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "inactive"], ["sis_id", "d9faeac755e1d3b1b5f5b7a01c4fbf62"], ["created_at", "2018-01-03 16:36:33.563058"], ["updated_at", "2018-01-03 16:36:33.563058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34784734], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34784734], ["name", "Cool Term"], ["start_at", "2017-11-03 16:36:33.564007"], ["end_at", "2017-12-03 16:36:33.564067"], ["workflow_state", "active"], ["sis_id", "25a637907c8683b5447811a669472ab5"], ["created_at", "2018-01-03 16:36:33.565073"], ["updated_at", "2018-01-03 16:36:33.565073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89343959], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89343959], ["name", "Cool Term"], ["start_at", "2018-07-03 16:36:33.566027"], ["end_at", "2019-01-03 16:36:33.566071"], ["workflow_state", "active"], ["sis_id", "724c53e664c85f2149d833a4f7d975a1"], ["created_at", "2018-01-03 16:36:33.567164"], ["updated_at", "2018-01-03 16:36:33.567164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 16:36:33.569484' OR start_at IS NULL) AND (end_at >= '2017-12-19 16:36:33.569638' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 16:36:33.577063"], ["updated_at", "2018-01-03 16:36:33.577063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 16:36:32.221962"], ["end_at", "2018-01-06 16:36:32.222152"], ["workflow_state", "active"], ["sis_id", "c42a7fcf553c18febd1991565163a39c"], ["created_at", "2018-01-03 16:36:33.585044"], ["updated_at", "2018-01-03 16:36:33.585044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 16:36:33.589012"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 52348815], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 52348815], ["sis_id", "145bdd09adea3eaf7a0c25840e0bd7d7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:33.616528"], ["updated_at", "2018-01-03 16:36:33.616528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65967919], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65967919], ["sis_id", "4c84dc0b717f299a3ba817caa5390d01"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:33.626105"], ["updated_at", "2018-01-03 16:36:33.626105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65967919], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 32988428], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 32988428], ["sis_id", "9c7927a7dfca3bbe2e6f035fdafe9541"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 16:36:33.638522"], ["updated_at", "2018-01-03 16:36:33.638522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:36:33.645768','2018-01-03 16:36:33.645768'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:36:33.645768','2018-01-03 16:36:33.645768') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:36:33.652185','2018-01-03 16:36:33.652185'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:36:33.652185','2018-01-03 16:36:33.652185') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 16:36:33.684893','2018-01-03 16:36:33.684893'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 16:36:33.684893','2018-01-03 16:36:33.684893') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:36:33.693782','2018-01-03 16:36:33.693782'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 16:36:33.693782','2018-01-03 16:36:33.693782') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 16:36:33.700376','2018-01-03 16:36:33.700376') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 16:36:33.708354','2018-01-03 16:36:33.708354'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 16:36:33.708354','2018-01-03 16:36:33.708354') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 16:36:33.709982','2018-01-03 16:36:33.709982'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 16:36:33.709982','2018-01-03 16:36:33.709982') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.9ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e] Performing GoodJob (Job ID: 815705af-b2cb-49a6-95f3-8fbfcdd6142e) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.272826"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:05:00.306101"], ["updated_at", "2018-01-03 17:05:00.306101"]] [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e]  (1.0ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.309078"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.310475"], ["id", 49]] [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [815705af-b2cb-49a6-95f3-8fbfcdd6142e] Performed GoodJob (Job ID: 815705af-b2cb-49a6-95f3-8fbfcdd6142e) from Async(default) in 39.15ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95] Performing BadJob (Job ID: b443f70a-d9ca-4e02-aada-b41f1abf1d95) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.320922"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:05:00.321386"], ["updated_at", "2018-01-03 17:05:00.321386"]] [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:05:00.322884"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:05:00.323129"], ["id", 50]] [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [b443f70a-d9ca-4e02-aada-b41f1abf1d95] Error performing BadJob (Job ID: b443f70a-d9ca-4e02-aada-b41f1abf1d95) from Async(default) in 3.98ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2] Performing CanvasSync::Jobs::ReportChecker (Job ID: 13f534a4-b79f-48d8-8d83-1665214027a2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.329081"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.329377"], ["updated_at", "2018-01-03 17:05:00.329377"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 51]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [13f534a4-b79f-48d8-8d83-1665214027a2] Performed CanvasSync::Jobs::ReportChecker (Job ID: 13f534a4-b79f-48d8-8d83-1665214027a2) from Async(default) in 15.12ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.348688"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.349125"], ["updated_at", "2018-01-03 17:05:00.349125"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 02b13cf1-3271-41c5-8c07-1b93504485b8) to Async(default) at 2018-01-03 17:05:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 52]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4f8bdb46-45ac-4c38-8e13-d4e4d0f448f7) from Async(default) in 14.81ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa] Performing CanvasSync::Jobs::ReportChecker (Job ID: e615ee70-8223-424c-bd85-4efbd7f738aa) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.367837"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.368205"], ["updated_at", "2018-01-03 17:05:00.368205"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:05:00.370650"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:05:00.370929"], ["id", 53]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e615ee70-8223-424c-bd85-4efbd7f738aa] Error performing CanvasSync::Jobs::ReportChecker (Job ID: e615ee70-8223-424c-bd85-4efbd7f738aa) from Async(default) in 5.01ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 36f9741b-2cc3-45ae-bdd2-a3ef03114bb6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.377556"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.377915"], ["updated_at", "2018-01-03 17:05:00.377915"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:05:00.379990"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.432574"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.433099"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [36f9741b-2cc3-45ae-bdd2-a3ef03114bb6] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 36f9741b-2cc3-45ae-bdd2-a3ef03114bb6) from Async(default) in 57.59ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d] Performing CanvasSync::Jobs::ReportStarter (Job ID: 6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.440059"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:05:00.440568"], ["updated_at", "2018-01-03 17:05:00.440568"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a1f9661d-8ec3-4d1b-9795-d48d025023bb) to Async(default) at 2018-01-03 17:05:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.444238"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.444648"], ["id", 55]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d] Performed CanvasSync::Jobs::ReportStarter (Job ID: 6a8c9135-c50c-4e9a-a9fb-b2efe9a9c32d) from Async(default) in 6.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (10.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68318973], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68318973], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "d2ee627955ee910d36ed7abbd5a36bac"], ["created_at", "2018-01-03 17:05:00.479415"], ["updated_at", "2018-01-03 17:05:00.479415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93365006], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93365006], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "15add50de827ea1ef7d47ef6c550aea4"], ["created_at", "2018-01-03 17:05:00.483272"], ["updated_at", "2018-01-03 17:05:00.483272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 33415792], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 33415792], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "inactive"], ["sis_id", "2d78529eb4b5dfe3a5fcadb4afcde0e0"], ["created_at", "2018-01-03 17:05:00.486839"], ["updated_at", "2018-01-03 17:05:00.486839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9dd2489a-5f08-4718-80b4-23ae7217c153) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153] SQL (1.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.489447"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:05:00.489993"], ["updated_at", "2018-01-03 17:05:00.489993"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:05:00.493985' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:05:00.494213' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.495772"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.496146"], ["id", 56]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9dd2489a-5f08-4718-80b4-23ae7217c153] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9dd2489a-5f08-4718-80b4-23ae7217c153) from Async(default) in 8.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 591ba3cd-6edc-46d7-89ec-89d44260c877) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.502401"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:05:00.502930"], ["updated_at", "2018-01-03 17:05:00.502930"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.505411"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.505746"], ["id", 57]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591ba3cd-6edc-46d7-89ec-89d44260c877] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 591ba3cd-6edc-46d7-89ec-89d44260c877) from Async(default) in 4.89ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 48be1def-7f60-4a44-abcd-aa9b31a4b3de) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.519977"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.520434"], ["updated_at", "2018-01-03 17:05:00.520434"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:05:00.546169"], ["updated_at", "2018-01-03 17:05:00.546169"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:05:00.557313"], ["updated_at", "2018-01-03 17:05:00.557313"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.563912"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.564254"], ["id", 58]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [48be1def-7f60-4a44-abcd-aa9b31a4b3de] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 48be1def-7f60-4a44-abcd-aa9b31a4b3de) from Async(default) in 45.95ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 525bb8bb-47f0-4196-a618-845df26c58ef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.571137"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.571545"], ["updated_at", "2018-01-03 17:05:00.571545"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:05:00.577460"], ["updated_at", "2018-01-03 17:05:00.577460"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:00.580043"], ["updated_at", "2018-01-03 17:05:00.580043"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:00.582356"], ["updated_at", "2018-01-03 17:05:00.582356"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:05:00.585574"], ["updated_at", "2018-01-03 17:05:00.585574"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:05:00.589702"], ["updated_at", "2018-01-03 17:05:00.589702"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:00.593168"], ["updated_at", "2018-01-03 17:05:00.593168"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.594356"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.594757"], ["id", 59]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [525bb8bb-47f0-4196-a618-845df26c58ef] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 525bb8bb-47f0-4196-a618-845df26c58ef) from Async(default) in 25.55ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (1.3ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 61fc41eb-24ac-4eb9-b660-e666467ae4f6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:00.613507"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:00.614126"], ["updated_at", "2018-01-03 17:05:00.614126"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ec70f1f9-fb02-4292-a5dd-c5acb56167a7) to Async(default) at 2018-01-03 17:05:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:00.617125"], ["status", "success"], ["updated_at", "2018-01-03 17:05:00.617437"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [61fc41eb-24ac-4eb9-b660-e666467ae4f6] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 61fc41eb-24ac-4eb9-b660-e666467ae4f6) from Async(default) in 5.26ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 82821744], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 82821744], ["sis_id", "fcfecf8ccaf0e143dd359b195cfe1d01"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:00.637912"], ["end_date", "2018-01-24 17:05:00.638037"], ["created_at", "2018-01-03 17:05:00.641800"], ["updated_at", "2018-01-03 17:05:00.641800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73002467], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 73002467], ["sis_id", "b1db65a31a80c947d1df4b0d0a2ccc92"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:00.655812"], ["end_date", "2018-01-24 17:05:00.655926"], ["created_at", "2018-01-03 17:05:00.656890"], ["updated_at", "2018-01-03 17:05:00.656890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Load (0.9ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73002467], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94237571], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 94237571], ["sis_id", "431b6cb53c88496a54eefb7a848828ad"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:00.672408"], ["end_date", "2018-01-24 17:05:00.672502"], ["created_at", "2018-01-03 17:05:00.673415"], ["updated_at", "2018-01-03 17:05:00.673415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96320608], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96320608], ["sis_id", "b765ae982672c8ef4426331442bd9ef0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:00.677752"], ["end_date", "2018-01-24 17:05:00.677829"], ["created_at", "2018-01-03 17:05:00.679999"], ["updated_at", "2018-01-03 17:05:00.679999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 20123279], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 20123279], ["sis_id", "e99cc66d2a8657bbbe1d8db65cee2c4f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:00.684558"], ["end_date", "2018-01-24 17:05:00.684686"], ["created_at", "2018-01-03 17:05:00.685938"], ["updated_at", "2018-01-03 17:05:00.685938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Enrollment Exists (5.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87423085], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87423085], ["created_at", "2018-01-03 17:05:00.718415"], ["updated_at", "2018-01-03 17:05:00.718415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 19696018], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 19696018], ["created_at", "2018-01-03 17:05:00.726936"], ["updated_at", "2018-01-03 17:05:00.726936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 19696018], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 31638786], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 31638786], ["created_at", "2018-01-03 17:05:00.733953"], ["updated_at", "2018-01-03 17:05:00.733953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87128525], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87128525], ["created_at", "2018-01-03 17:05:00.740264"], ["updated_at", "2018-01-03 17:05:00.740264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 30806796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 30806796], ["created_at", "2018-01-03 17:05:00.745898"], ["updated_at", "2018-01-03 17:05:00.745898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (3.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18223790], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 18223790], ["created_at", "2018-01-03 17:05:00.773551"], ["updated_at", "2018-01-03 17:05:00.773551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 31996360], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 31996360], ["created_at", "2018-01-03 17:05:00.784130"], ["updated_at", "2018-01-03 17:05:00.784130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 31996360], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 20818541], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 20818541], ["created_at", "2018-01-03 17:05:00.796546"], ["updated_at", "2018-01-03 17:05:00.796546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96156550], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 96156550], ["created_at", "2018-01-03 17:05:00.802380"], ["updated_at", "2018-01-03 17:05:00.802380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82522534], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82522534], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "353f3af89cdc77be874fe31762c696a8"], ["created_at", "2018-01-03 17:05:00.808881"], ["updated_at", "2018-01-03 17:05:00.808881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.9ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85163245], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 85163245], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "42fa21bb18a7df5a5e4e399a04512ad7"], ["created_at", "2018-01-03 17:05:00.827382"], ["updated_at", "2018-01-03 17:05:00.827382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85163245], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 51331784], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 51331784], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "9759dea516b1e833f2bad4936a6a229b"], ["created_at", "2018-01-03 17:05:00.839672"], ["updated_at", "2018-01-03 17:05:00.839672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43376134], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 43376134], ["name", "Cool Term"], ["start_at", "2018-01-01 17:05:00.846283"], ["end_at", "2018-01-06 17:05:00.846422"], ["workflow_state", "active"], ["sis_id", "8c58b1d5225b94f6524f256510737863"], ["created_at", "2018-01-03 17:05:00.848384"], ["updated_at", "2018-01-03 17:05:00.848384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 56771279], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 56771279], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "inactive"], ["sis_id", "9027f586361b48c4fe2026300b75b5aa"], ["created_at", "2018-01-03 17:05:00.851914"], ["updated_at", "2018-01-03 17:05:00.851914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27686968], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27686968], ["name", "Cool Term"], ["start_at", "2017-11-03 17:05:00.853052"], ["end_at", "2017-12-03 17:05:00.853153"], ["workflow_state", "active"], ["sis_id", "ea45296aeaef343f319e8a92fc6c8155"], ["created_at", "2018-01-03 17:05:00.854536"], ["updated_at", "2018-01-03 17:05:00.854536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84726796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 84726796], ["name", "Cool Term"], ["start_at", "2018-07-03 17:05:00.855677"], ["end_at", "2019-01-03 17:05:00.855751"], ["workflow_state", "active"], ["sis_id", "7d4433f4e54a6cfc31928b991a9c23bb"], ["created_at", "2018-01-03 17:05:00.857049"], ["updated_at", "2018-01-03 17:05:00.857049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:05:00.858150' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:05:00.858294' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:05:00.864420"], ["updated_at", "2018-01-03 17:05:00.864420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:04:58.562485"], ["end_at", "2018-01-06 17:04:58.562724"], ["workflow_state", "active"], ["sis_id", "b4383994f244848624128d01bd6581de"], ["created_at", "2018-01-03 17:05:00.879472"], ["updated_at", "2018-01-03 17:05:00.879472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.4ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:05:00.884528"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (24.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 11137519], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 11137519], ["sis_id", "8affc78db7d69fd0cae1a2d96fa1be0e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:00.934849"], ["updated_at", "2018-01-03 17:05:00.934849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 39057799], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 39057799], ["sis_id", "9c62669a048563fd59a00617680f41df"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:00.950147"], ["updated_at", "2018-01-03 17:05:00.950147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 39057799], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 14490776], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 14490776], ["sis_id", "62fab9e4ad0cdfcdd864dbb8504a3736"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:00.960967"], ["updated_at", "2018-01-03 17:05:00.960967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:05:00.973537','2018-01-03 17:05:00.973537'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:05:00.973537','2018-01-03 17:05:00.973537') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (1.0ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 17:05:00.991862','2018-01-03 17:05:00.991862'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 17:05:00.991862','2018-01-03 17:05:00.991862') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.3ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:05:01.065864','2018-01-03 17:05:01.065864'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:05:01.065864','2018-01-03 17:05:01.065864') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 17:05:01.073464','2018-01-03 17:05:01.073464'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2018-01-03 17:05:01.073464','2018-01-03 17:05:01.073464') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:05:01.081068','2018-01-03 17:05:01.081068') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2018-01-03 17:05:01.109980','2018-01-03 17:05:01.109980'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2018-01-03 17:05:01.109980','2018-01-03 17:05:01.109980') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:05:01.115705','2018-01-03 17:05:01.115705'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:05:01.115705','2018-01-03 17:05:01.115705') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222] Performing GoodJob (Job ID: 4091695a-495e-4d88-bed8-0a92c2f17222) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222] SQL (0.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.017213"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:05:41.027706"], ["updated_at", "2018-01-03 17:05:41.027706"]] [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.030502"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.030866"], ["id", 61]] [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4091695a-495e-4d88-bed8-0a92c2f17222] Performed GoodJob (Job ID: 4091695a-495e-4d88-bed8-0a92c2f17222) from Async(default) in 15.15ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d] Performing BadJob (Job ID: 3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.040747"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:05:41.041226"], ["updated_at", "2018-01-03 17:05:41.041226"]] [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:05:41.043321"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:05:41.043738"], ["id", 62]] [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d] Error performing BadJob (Job ID: 3b1ad893-ebd2-456f-8e00-bc4aac2b1d2d) from Async(default) in 5.62ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083] Performing CanvasSync::Jobs::ReportChecker (Job ID: a3685d38-d03e-4ae0-81ee-814802541083) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.052016"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.052520"], ["updated_at", "2018-01-03 17:05:41.052520"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 63]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a3685d38-d03e-4ae0-81ee-814802541083] Performed CanvasSync::Jobs::ReportChecker (Job ID: a3685d38-d03e-4ae0-81ee-814802541083) from Async(default) in 8.21ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109] Performing CanvasSync::Jobs::ReportChecker (Job ID: dc587f62-863a-4c3b-aa83-b68a87533109) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.063552"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.063880"], ["updated_at", "2018-01-03 17:05:41.063880"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 016f0378-dde0-44f6-95ce-bc0fed725365) to Async(default) at 2018-01-03 17:06:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 64]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dc587f62-863a-4c3b-aa83-b68a87533109] Performed CanvasSync::Jobs::ReportChecker (Job ID: dc587f62-863a-4c3b-aa83-b68a87533109) from Async(default) in 4.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 041985b7-6461-40de-a1bf-ced1b6827b4f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.080678"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.081196"], ["updated_at", "2018-01-03 17:05:41.081196"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:05:41.084826"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:05:41.085373"], ["id", 65]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [041985b7-6461-40de-a1bf-ced1b6827b4f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 041985b7-6461-40de-a1bf-ced1b6827b4f) from Async(default) in 7.86ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: a51c9804-f7bc-4237-b72c-845d5a782d69) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.094755"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.095272"], ["updated_at", "2018-01-03 17:05:41.095272"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:05:41.099546"], ["id", 66]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.123371"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.123873"], ["id", 66]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a51c9804-f7bc-4237-b72c-845d5a782d69] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: a51c9804-f7bc-4237-b72c-845d5a782d69) from Async(default) in 30.78ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b] Performing CanvasSync::Jobs::ReportStarter (Job ID: a02e1b87-d6c6-45f3-83c6-51f101f17c4b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.129317"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:05:41.129658"], ["updated_at", "2018-01-03 17:05:41.129658"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d20a4255-e32c-4d3c-89f2-dc51ef93e194) to Async(default) at 2018-01-03 17:06:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b] SQL (1.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.132382"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.133086"], ["id", 67]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b]  (0.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a02e1b87-d6c6-45f3-83c6-51f101f17c4b] Performed CanvasSync::Jobs::ReportStarter (Job ID: a02e1b87-d6c6-45f3-83c6-51f101f17c4b) from Async(default) in 13.77ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (21.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10327282], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10327282], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "3433dda47b1bbe5f89d5d867b0a3dccb"], ["created_at", "2018-01-03 17:05:41.189533"], ["updated_at", "2018-01-03 17:05:41.189533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68566881], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68566881], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "8a8db73857524c2e139e827f5df7cac8"], ["created_at", "2018-01-03 17:05:41.194355"], ["updated_at", "2018-01-03 17:05:41.194355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 14264480], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 14264480], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "inactive"], ["sis_id", "ed3198b34d482e18c48162b84ffeebf6"], ["created_at", "2018-01-03 17:05:41.197495"], ["updated_at", "2018-01-03 17:05:41.197495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2ff7daf6-0b23-451f-b8a8-9872b5c291cd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.199550"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:05:41.199940"], ["updated_at", "2018-01-03 17:05:41.199940"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:05:41.201950' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:05:41.202151' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.204714"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.205097"], ["id", 68]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2ff7daf6-0b23-451f-b8a8-9872b5c291cd] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2ff7daf6-0b23-451f-b8a8-9872b5c291cd) from Async(default) in 6.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ce3381a0-f077-4f8b-88cc-f4f78841dc8c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.209955"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:05:41.210319"], ["updated_at", "2018-01-03 17:05:41.210319"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.212093"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.212418"], ["id", 69]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ce3381a0-f077-4f8b-88cc-f4f78841dc8c] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ce3381a0-f077-4f8b-88cc-f4f78841dc8c) from Async(default) in 3.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (21.4ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 4374cdac-3c2b-411a-889e-98cfaebb6548) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.249719"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.250350"], ["updated_at", "2018-01-03 17:05:41.250350"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:05:41.268224"], ["updated_at", "2018-01-03 17:05:41.268224"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] SQL (0.7ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:05:41.276401"], ["updated_at", "2018-01-03 17:05:41.276401"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.283634"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.284063"], ["id", 70]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4374cdac-3c2b-411a-889e-98cfaebb6548] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 4374cdac-3c2b-411a-889e-98cfaebb6548) from Async(default) in 36.48ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 5f0735d2-ab3f-41ff-9807-0a467b4ab737) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.293639"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.294248"], ["updated_at", "2018-01-03 17:05:41.294248"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:05:41.302060"], ["updated_at", "2018-01-03 17:05:41.302060"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:41.304451"], ["updated_at", "2018-01-03 17:05:41.304451"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:41.306590"], ["updated_at", "2018-01-03 17:05:41.306590"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:05:41.312642"], ["updated_at", "2018-01-03 17:05:41.312642"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:05:41.315514"], ["updated_at", "2018-01-03 17:05:41.315514"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:05:41.318039"], ["updated_at", "2018-01-03 17:05:41.318039"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.319003"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.319337"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5f0735d2-ab3f-41ff-9807-0a467b4ab737] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 5f0735d2-ab3f-41ff-9807-0a467b4ab737) from Async(default) in 27.12ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (1.8ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: d06dc00b-b7f9-4ebb-b8cf-3aa455957639) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:05:41.334427"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:05:41.335085"], ["updated_at", "2018-01-03 17:05:41.335085"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f9019c34-f9ac-4b24-bd24-05a753e9de3a) to Async(default) at 2018-01-03 17:06:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:05:41.339155"], ["status", "success"], ["updated_at", "2018-01-03 17:05:41.339582"], ["id", 72]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d06dc00b-b7f9-4ebb-b8cf-3aa455957639] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: d06dc00b-b7f9-4ebb-b8cf-3aa455957639) from Async(default) in 7.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 78914976], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 78914976], ["sis_id", "fff3374ea2594a9bec5ed4b019c9efe5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:41.359894"], ["end_date", "2018-01-24 17:05:41.359989"], ["created_at", "2018-01-03 17:05:41.363682"], ["updated_at", "2018-01-03 17:05:41.363682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23671730], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23671730], ["sis_id", "d15462cfadea24f858ab80f13c503f51"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:41.383845"], ["end_date", "2018-01-24 17:05:41.384012"], ["created_at", "2018-01-03 17:05:41.385383"], ["updated_at", "2018-01-03 17:05:41.385383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23671730], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 83903359], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 83903359], ["sis_id", "0ee61f505dc991c0731b4b258e7d8327"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:41.394856"], ["end_date", "2018-01-24 17:05:41.394947"], ["created_at", "2018-01-03 17:05:41.396038"], ["updated_at", "2018-01-03 17:05:41.396038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 2917356], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 2917356], ["sis_id", "09940a0ab6983d0a9aa2ff1e5675aad2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:41.401319"], ["end_date", "2018-01-24 17:05:41.401407"], ["created_at", "2018-01-03 17:05:41.402325"], ["updated_at", "2018-01-03 17:05:41.402325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59094491], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 59094491], ["sis_id", "14f087088b4b8e0414899ccb35fbfd79"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:05:41.406642"], ["end_date", "2018-01-24 17:05:41.406738"], ["created_at", "2018-01-03 17:05:41.407659"], ["updated_at", "2018-01-03 17:05:41.407659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (5.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 63200851], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 63200851], ["created_at", "2018-01-03 17:05:41.440079"], ["updated_at", "2018-01-03 17:05:41.440079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 6392577], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 6392577], ["created_at", "2018-01-03 17:05:41.451100"], ["updated_at", "2018-01-03 17:05:41.451100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.4ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 6392577], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 21454713], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 21454713], ["created_at", "2018-01-03 17:05:41.458232"], ["updated_at", "2018-01-03 17:05:41.458232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22423464], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22423464], ["created_at", "2018-01-03 17:05:41.462857"], ["updated_at", "2018-01-03 17:05:41.462857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87383200], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87383200], ["created_at", "2018-01-03 17:05:41.468320"], ["updated_at", "2018-01-03 17:05:41.468320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Section Exists (4.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 8131966], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 8131966], ["created_at", "2018-01-03 17:05:41.497287"], ["updated_at", "2018-01-03 17:05:41.497287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93036162], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 93036162], ["created_at", "2018-01-03 17:05:41.505931"], ["updated_at", "2018-01-03 17:05:41.505931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93036162], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 52161850], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 52161850], ["created_at", "2018-01-03 17:05:41.517248"], ["updated_at", "2018-01-03 17:05:41.517248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93312435], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 93312435], ["created_at", "2018-01-03 17:05:41.521717"], ["updated_at", "2018-01-03 17:05:41.521717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65562909], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65562909], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "0a07c68225ad5a45e6712c03f2f07dc4"], ["created_at", "2018-01-03 17:05:41.526006"], ["updated_at", "2018-01-03 17:05:41.526006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 100], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71113808], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71113808], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "25f27beb897b61525931855bc42175d0"], ["created_at", "2018-01-03 17:05:41.531521"], ["updated_at", "2018-01-03 17:05:41.531521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71113808], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 83918683], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 83918683], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "012e7b8c1162dcebcdec2028215d7978"], ["created_at", "2018-01-03 17:05:41.542753"], ["updated_at", "2018-01-03 17:05:41.542753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 11927168], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 11927168], ["name", "Cool Term"], ["start_at", "2018-01-01 17:05:41.555565"], ["end_at", "2018-01-06 17:05:41.555673"], ["workflow_state", "active"], ["sis_id", "d5ff54d35c7057638527995b6ffc3e70"], ["created_at", "2018-01-03 17:05:41.557206"], ["updated_at", "2018-01-03 17:05:41.557206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 51223046], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 51223046], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "inactive"], ["sis_id", "e1046123dee01ae9b8f2784817db4849"], ["created_at", "2018-01-03 17:05:41.559181"], ["updated_at", "2018-01-03 17:05:41.559181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94628181], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94628181], ["name", "Cool Term"], ["start_at", "2017-11-03 17:05:41.560123"], ["end_at", "2017-12-03 17:05:41.560208"], ["workflow_state", "active"], ["sis_id", "c70f71f3ff9599f544ba944a42426ce7"], ["created_at", "2018-01-03 17:05:41.561322"], ["updated_at", "2018-01-03 17:05:41.561322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49302860], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49302860], ["name", "Cool Term"], ["start_at", "2018-07-03 17:05:41.563511"], ["end_at", "2019-01-03 17:05:41.563565"], ["workflow_state", "active"], ["sis_id", "d414fbec778c26658b3eaf4603c4cd98"], ["created_at", "2018-01-03 17:05:41.564680"], ["updated_at", "2018-01-03 17:05:41.564680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:05:41.565802' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:05:41.565915' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:05:41.571526"], ["updated_at", "2018-01-03 17:05:41.571526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:05:40.083953"], ["end_at", "2018-01-06 17:05:40.084232"], ["workflow_state", "active"], ["sis_id", "f641c6d3bfe1e0d95d4ae2fd7599c849"], ["created_at", "2018-01-03 17:05:41.577223"], ["updated_at", "2018-01-03 17:05:41.577223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 108], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:05:41.580532"], ["id", 108]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 68180663], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 68180663], ["sis_id", "ed674776e0b18a8c0bb12308e26c01fe"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:41.609810"], ["updated_at", "2018-01-03 17:05:41.609810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 85055852], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 85055852], ["sis_id", "01a944ae743d3b1854ea0bbf357616e3"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:41.616574"], ["updated_at", "2018-01-03 17:05:41.616574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 85055852], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 75296729], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 75296729], ["sis_id", "6cb71bca1d8b9b4ba01bc35b9ad3de15"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:05:41.623294"], ["updated_at", "2018-01-03 17:05:41.623294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:05:41.629319','2018-01-03 17:05:41.629319'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:05:41.629319','2018-01-03 17:05:41.629319') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:05:41.637397','2018-01-03 17:05:41.637397'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:05:41.637397','2018-01-03 17:05:41.637397') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:05:41.654898','2018-01-03 17:05:41.654898'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:05:41.654898','2018-01-03 17:05:41.654898') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:05:41.663224','2018-01-03 17:05:41.663224'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:05:41.663224','2018-01-03 17:05:41.663224') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:05:41.670696','2018-01-03 17:05:41.670696') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:05:41.678994','2018-01-03 17:05:41.678994'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:05:41.678994','2018-01-03 17:05:41.678994') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:05:41.680868','2018-01-03 17:05:41.680868'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:05:41.680868','2018-01-03 17:05:41.680868') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7] Performing GoodJob (Job ID: 4f76d9e3-b4a4-4841-bc50-0d98106437d7) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7] SQL (0.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.731212"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:06:15.755978"], ["updated_at", "2018-01-03 17:06:15.755978"]] [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.758850"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.759233"], ["id", 73]] [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4f76d9e3-b4a4-4841-bc50-0d98106437d7] Performed GoodJob (Job ID: 4f76d9e3-b4a4-4841-bc50-0d98106437d7) from Async(default) in 30.01ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405] Performing BadJob (Job ID: 98cc7ffc-519a-4f76-af44-da29381de405) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.769332"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:06:15.769782"], ["updated_at", "2018-01-03 17:06:15.769782"]] [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:06:15.771368"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:06:15.771748"], ["id", 74]] [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [98cc7ffc-519a-4f76-af44-da29381de405] Error performing BadJob (Job ID: 98cc7ffc-519a-4f76-af44-da29381de405) from Async(default) in 4.22ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513] Performing CanvasSync::Jobs::ReportChecker (Job ID: fa82c489-d308-415d-8821-258b58b7b513) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.778096"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:15.778396"], ["updated_at", "2018-01-03 17:06:15.778396"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 75]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fa82c489-d308-415d-8821-258b58b7b513] Performed CanvasSync::Jobs::ReportChecker (Job ID: fa82c489-d308-415d-8821-258b58b7b513) from Async(default) in 7.84ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a] Performing CanvasSync::Jobs::ReportChecker (Job ID: de961174-236c-4e1b-8311-7a596456171a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.790332"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:15.790881"], ["updated_at", "2018-01-03 17:06:15.790881"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3ac1acda-c97a-4feb-a56a-82ed63ba9cb2) to Async(default) at 2018-01-03 17:06:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a] SQL (0.4ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 76]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [de961174-236c-4e1b-8311-7a596456171a] Performed CanvasSync::Jobs::ReportChecker (Job ID: de961174-236c-4e1b-8311-7a596456171a) from Async(default) in 8.17ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b] Performing CanvasSync::Jobs::ReportChecker (Job ID: 50a2ef06-e351-46ad-a42d-535455737b7b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.811096"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:15.811553"], ["updated_at", "2018-01-03 17:06:15.811553"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:06:15.815103"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:06:15.815454"], ["id", 77]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [50a2ef06-e351-46ad-a42d-535455737b7b] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 50a2ef06-e351-46ad-a42d-535455737b7b) from Async(default) in 6.44ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: eeae20aa-bfe6-414f-a1be-04cefd9ee232) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.820911"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:15.821295"], ["updated_at", "2018-01-03 17:06:15.821295"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:06:15.824733"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.866146"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.866917"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [eeae20aa-bfe6-414f-a1be-04cefd9ee232] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: eeae20aa-bfe6-414f-a1be-04cefd9ee232) from Async(default) in 47.99ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051] Performing CanvasSync::Jobs::ReportStarter (Job ID: bdeaddb6-3821-4687-875b-62b82f0a2051) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.873080"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:06:15.873481"], ["updated_at", "2018-01-03 17:06:15.873481"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d7e2c27e-512d-4dcc-b891-0c52f05db519) to Async(default) at 2018-01-03 17:06:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.878285"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.878775"], ["id", 79]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [bdeaddb6-3821-4687-875b-62b82f0a2051] Performed CanvasSync::Jobs::ReportStarter (Job ID: bdeaddb6-3821-4687-875b-62b82f0a2051) from Async(default) in 8.25ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63958849], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63958849], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "a61c4af3ab6f0807b5fd3a2d4438835d"], ["created_at", "2018-01-03 17:06:15.904338"], ["updated_at", "2018-01-03 17:06:15.904338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71793827], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71793827], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "4fb61457c446a29eaefe79a01917fbf4"], ["created_at", "2018-01-03 17:06:15.907372"], ["updated_at", "2018-01-03 17:06:15.907372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24852764], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 24852764], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "inactive"], ["sis_id", "467cd07aab03494305d96e93f0569752"], ["created_at", "2018-01-03 17:06:15.909425"], ["updated_at", "2018-01-03 17:06:15.909425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 15f510f5-c7ba-4358-8355-109f119950ae) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.910932"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:06:15.911329"], ["updated_at", "2018-01-03 17:06:15.911329"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:06:15.913382' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:06:15.913575' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae]  (0.9ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.918689"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.923418"], ["id", 80]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [15f510f5-c7ba-4358-8355-109f119950ae] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 15f510f5-c7ba-4358-8355-109f119950ae) from Async(default) in 14.57ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 8c95f4eb-652a-48f5-9ad0-42ab816d75a0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.930027"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:06:15.930413"], ["updated_at", "2018-01-03 17:06:15.930413"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.932663"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.933135"], ["id", 81]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8c95f4eb-652a-48f5-9ad0-42ab816d75a0] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 8c95f4eb-652a-48f5-9ad0-42ab816d75a0) from Async(default) in 5.17ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 91941c9b-2d52-453d-9444-aed99af9b268) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:15.949414"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:15.949794"], ["updated_at", "2018-01-03 17:06:15.949794"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] SQL (1.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:06:15.974418"], ["updated_at", "2018-01-03 17:06:15.974418"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:06:15.988851"], ["updated_at", "2018-01-03 17:06:15.988851"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:15.999276"], ["status", "success"], ["updated_at", "2018-01-03 17:06:15.999648"], ["id", 82]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [91941c9b-2d52-453d-9444-aed99af9b268] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 91941c9b-2d52-453d-9444-aed99af9b268) from Async(default) in 51.74ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: b22fe655-8efe-4445-89fe-ba57910b3495) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:16.007654"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:16.008138"], ["updated_at", "2018-01-03 17:06:16.008138"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:06:16.015475"], ["updated_at", "2018-01-03 17:06:16.015475"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:16.018357"], ["updated_at", "2018-01-03 17:06:16.018357"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:16.020855"], ["updated_at", "2018-01-03 17:06:16.020855"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:06:16.023718"], ["updated_at", "2018-01-03 17:06:16.023718"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:06:16.026343"], ["updated_at", "2018-01-03 17:06:16.026343"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:16.028899"], ["updated_at", "2018-01-03 17:06:16.028899"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:16.029850"], ["status", "success"], ["updated_at", "2018-01-03 17:06:16.030146"], ["id", 83]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b22fe655-8efe-4445-89fe-ba57910b3495] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: b22fe655-8efe-4445-89fe-ba57910b3495) from Async(default) in 23.79ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: d338fbf1-5d2a-4a6b-901d-76772b7bbcaf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:16.038684"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:16.039280"], ["updated_at", "2018-01-03 17:06:16.039280"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e913c991-e61b-4558-b4fa-8bc8ea263ffc) to Async(default) at 2018-01-03 17:06:46 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:16.043843"], ["status", "success"], ["updated_at", "2018-01-03 17:06:16.044370"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d338fbf1-5d2a-4a6b-901d-76772b7bbcaf] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: d338fbf1-5d2a-4a6b-901d-76772b7bbcaf) from Async(default) in 8.35ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 40557392], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 40557392], ["sis_id", "032f6583be1212192be47c2867e3a050"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:16.071659"], ["end_date", "2018-01-24 17:06:16.071765"], ["created_at", "2018-01-03 17:06:16.074531"], ["updated_at", "2018-01-03 17:06:16.074531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13676473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 13676473], ["sis_id", "8fc43646881be3fe0ce66f020d19e416"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:16.086012"], ["end_date", "2018-01-24 17:06:16.086093"], ["created_at", "2018-01-03 17:06:16.087154"], ["updated_at", "2018-01-03 17:06:16.087154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13676473], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 64080946], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 64080946], ["sis_id", "8dd374e4a380de810e1ce9b6f8f485fc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:16.096091"], ["end_date", "2018-01-24 17:06:16.096254"], ["created_at", "2018-01-03 17:06:16.097763"], ["updated_at", "2018-01-03 17:06:16.097763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98534513], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 98534513], ["sis_id", "252aac3b6532357496e7a24ee71b231d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:16.102468"], ["end_date", "2018-01-24 17:06:16.102557"], ["created_at", "2018-01-03 17:06:16.103498"], ["updated_at", "2018-01-03 17:06:16.103498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 30620875], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 30620875], ["sis_id", "8086e8e0f7caa7526ced3a0e19b2ec83"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:16.107902"], ["end_date", "2018-01-24 17:06:16.107987"], ["created_at", "2018-01-03 17:06:16.109113"], ["updated_at", "2018-01-03 17:06:16.109113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.0ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 68142377], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 68142377], ["created_at", "2018-01-03 17:06:16.142632"], ["updated_at", "2018-01-03 17:06:16.142632"]]  (4.5ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 91833441], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 91833441], ["created_at", "2018-01-03 17:06:16.154757"], ["updated_at", "2018-01-03 17:06:16.154757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 91833441], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 56979464], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 56979464], ["created_at", "2018-01-03 17:06:16.161871"], ["updated_at", "2018-01-03 17:06:16.161871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 14718319], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 14718319], ["created_at", "2018-01-03 17:06:16.167631"], ["updated_at", "2018-01-03 17:06:16.167631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 72936571], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 72936571], ["created_at", "2018-01-03 17:06:16.173728"], ["updated_at", "2018-01-03 17:06:16.173728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (3.0ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 17948832], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 17948832], ["created_at", "2018-01-03 17:06:16.206686"], ["updated_at", "2018-01-03 17:06:16.206686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 4161269], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 4161269], ["created_at", "2018-01-03 17:06:16.213861"], ["updated_at", "2018-01-03 17:06:16.213861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 4161269], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 5852113], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 5852113], ["created_at", "2018-01-03 17:06:16.221794"], ["updated_at", "2018-01-03 17:06:16.221794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 89846455], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 89846455], ["created_at", "2018-01-03 17:06:16.227233"], ["updated_at", "2018-01-03 17:06:16.227233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87698510], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 87698510], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "ba2cad3b21436dab9fd8d60dff61c080"], ["created_at", "2018-01-03 17:06:16.232519"], ["updated_at", "2018-01-03 17:06:16.232519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 118], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87274111], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 87274111], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "e6b64f57f4edce34c5d617596ad95ed0"], ["created_at", "2018-01-03 17:06:16.244770"], ["updated_at", "2018-01-03 17:06:16.244770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (1.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87274111], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81362373], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81362373], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "adfb5d8d8adff296d40b45c137aee6a8"], ["created_at", "2018-01-03 17:06:16.263896"], ["updated_at", "2018-01-03 17:06:16.263896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 22796072], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 22796072], ["name", "Cool Term"], ["start_at", "2018-01-01 17:06:16.267778"], ["end_at", "2018-01-06 17:06:16.267879"], ["workflow_state", "active"], ["sis_id", "d1e9f9eb029421910103a488dc4994e1"], ["created_at", "2018-01-03 17:06:16.269133"], ["updated_at", "2018-01-03 17:06:16.269133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10254423], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10254423], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "inactive"], ["sis_id", "ee986069da12f0b14cfa23b6888ad434"], ["created_at", "2018-01-03 17:06:16.272406"], ["updated_at", "2018-01-03 17:06:16.272406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52617649], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 52617649], ["name", "Cool Term"], ["start_at", "2017-11-03 17:06:16.273474"], ["end_at", "2017-12-03 17:06:16.273543"], ["workflow_state", "active"], ["sis_id", "eb0c3323006e4c96aa40d01d2bb3eae9"], ["created_at", "2018-01-03 17:06:16.274655"], ["updated_at", "2018-01-03 17:06:16.274655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 627093], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 627093], ["name", "Cool Term"], ["start_at", "2018-07-03 17:06:16.275889"], ["end_at", "2019-01-03 17:06:16.275942"], ["workflow_state", "active"], ["sis_id", "2573fb33008a6fc3b7670db4f2a92cbb"], ["created_at", "2018-01-03 17:06:16.277197"], ["updated_at", "2018-01-03 17:06:16.277197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:06:16.278278' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:06:16.278400' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:06:16.284736"], ["updated_at", "2018-01-03 17:06:16.284736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:14.873045"], ["end_at", "2018-01-06 17:06:14.873237"], ["workflow_state", "active"], ["sis_id", "b52d85fbc82c8e490164627b07f1d919"], ["created_at", "2018-01-03 17:06:16.292436"], ["updated_at", "2018-01-03 17:06:16.292436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (2.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 126], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:06:16.304234"], ["id", 126]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 126], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 8923182], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 8923182], ["sis_id", "f9aa92bf99c62718bea2246c4a14efb0"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:16.324542"], ["updated_at", "2018-01-03 17:06:16.324542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 51946389], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 51946389], ["sis_id", "70d5a2b1a2a87fae21f4e4f72e5ca29a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:16.331414"], ["updated_at", "2018-01-03 17:06:16.331414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 51946389], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 98022833], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 98022833], ["sis_id", "53a3b4fea901afc8ac9eab122e2b6dfd"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:16.345973"], ["updated_at", "2018-01-03 17:06:16.345973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:06:16.363611','2018-01-03 17:06:16.363611'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:06:16.363611','2018-01-03 17:06:16.363611') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:06:16.372706','2018-01-03 17:06:16.372706'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:06:16.372706','2018-01-03 17:06:16.372706') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:06:16.380302','2018-01-03 17:06:16.380302'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:06:16.380302','2018-01-03 17:06:16.380302') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:06:16.389385','2018-01-03 17:06:16.389385'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:06:16.389385','2018-01-03 17:06:16.389385') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:06:16.398417','2018-01-03 17:06:16.398417') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:06:16.416177','2018-01-03 17:06:16.416177'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:06:16.416177','2018-01-03 17:06:16.416177') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:06:16.418436','2018-01-03 17:06:16.418436'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:06:16.418436','2018-01-03 17:06:16.418436') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9] Performing GoodJob (Job ID: 75cfd0d3-67b2-4f87-b71f-200511ed3ac9) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9] SQL (1.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.781583"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:06:49.806449"], ["updated_at", "2018-01-03 17:06:49.806449"]] [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:49.811343"], ["status", "success"], ["updated_at", "2018-01-03 17:06:49.811783"], ["id", 85]] [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [75cfd0d3-67b2-4f87-b71f-200511ed3ac9] Performed GoodJob (Job ID: 75cfd0d3-67b2-4f87-b71f-200511ed3ac9) from Async(default) in 31.94ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2] Performing BadJob (Job ID: 452de109-63bd-4283-8366-806d69839eb2) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.820379"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:06:49.820723"], ["updated_at", "2018-01-03 17:06:49.820723"]] [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:06:49.823657"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:06:49.823953"], ["id", 86]] [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [452de109-63bd-4283-8366-806d69839eb2] Error performing BadJob (Job ID: 452de109-63bd-4283-8366-806d69839eb2) from Async(default) in 5.25ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883] Performing CanvasSync::Jobs::ReportChecker (Job ID: 6edbeabc-b51c-4935-a6c6-32f3cac28883) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.829814"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:49.830190"], ["updated_at", "2018-01-03 17:06:49.830190"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 87]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6edbeabc-b51c-4935-a6c6-32f3cac28883] Performed CanvasSync::Jobs::ReportChecker (Job ID: 6edbeabc-b51c-4935-a6c6-32f3cac28883) from Async(default) in 10.89ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03] Performing CanvasSync::Jobs::ReportChecker (Job ID: c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.844973"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:49.845540"], ["updated_at", "2018-01-03 17:06:49.845540"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8d1b09e8-93b1-4e45-95e1-7f532245cbd8) to Async(default) at 2018-01-03 17:07:19 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 88]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03] Performed CanvasSync::Jobs::ReportChecker (Job ID: c6fd07f1-f013-4dab-a4d7-ebd6bf1ffb03) from Async(default) in 5.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694] Performing CanvasSync::Jobs::ReportChecker (Job ID: 56dfc16a-dac3-4870-a9a5-a1232eb4d694) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.853714"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:49.854062"], ["updated_at", "2018-01-03 17:06:49.854062"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:06:49.856363"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:06:49.856607"], ["id", 89]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [56dfc16a-dac3-4870-a9a5-a1232eb4d694] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 56dfc16a-dac3-4870-a9a5-a1232eb4d694) from Async(default) in 14.35ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 3e1a756c-170b-4235-a821-402692979408) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.873057"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:49.873508"], ["updated_at", "2018-01-03 17:06:49.873508"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:06:49.875888"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:49.916296"], ["status", "success"], ["updated_at", "2018-01-03 17:06:49.916887"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [3e1a756c-170b-4235-a821-402692979408] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 3e1a756c-170b-4235-a821-402692979408) from Async(default) in 45.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45] Performing CanvasSync::Jobs::ReportStarter (Job ID: 06453c95-cfa8-477e-953c-b122bb248d45) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.922779"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:06:49.923176"], ["updated_at", "2018-01-03 17:06:49.923176"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e2f1be10-b20e-46c6-a062-c5b1dcc30881) to Async(default) at 2018-01-03 17:07:19 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:49.927511"], ["status", "success"], ["updated_at", "2018-01-03 17:06:49.927819"], ["id", 91]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [06453c95-cfa8-477e-953c-b122bb248d45] Performed CanvasSync::Jobs::ReportStarter (Job ID: 06453c95-cfa8-477e-953c-b122bb248d45) from Async(default) in 6.43ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (2.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 22741481], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 22741481], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "66c513a010acd950d9dd7262abc2356f"], ["created_at", "2018-01-03 17:06:49.953592"], ["updated_at", "2018-01-03 17:06:49.953592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 59204569], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 59204569], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "28ad0317180882520b3fc4f29ccd8746"], ["created_at", "2018-01-03 17:06:49.956421"], ["updated_at", "2018-01-03 17:06:49.956421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80760467], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80760467], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "inactive"], ["sis_id", "e87d7678fa6b597c6c0c42ce19cf3ecd"], ["created_at", "2018-01-03 17:06:49.971728"], ["updated_at", "2018-01-03 17:06:49.971728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5829e14b-7039-443b-90c5-b6ffd56dad02) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.973700"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:06:49.974117"], ["updated_at", "2018-01-03 17:06:49.974117"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:06:49.976173' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:06:49.976367' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:49.977802"], ["status", "success"], ["updated_at", "2018-01-03 17:06:49.978196"], ["id", 92]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5829e14b-7039-443b-90c5-b6ffd56dad02] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5829e14b-7039-443b-90c5-b6ffd56dad02) from Async(default) in 7.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c259534d-e2c2-4d50-a1e9-f04381251280) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:49.987122"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:06:49.987733"], ["updated_at", "2018-01-03 17:06:49.987733"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:49.991166"], ["status", "success"], ["updated_at", "2018-01-03 17:06:49.991590"], ["id", 93]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c259534d-e2c2-4d50-a1e9-f04381251280] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c259534d-e2c2-4d50-a1e9-f04381251280) from Async(default) in 6.75ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: fcda9f78-4111-4f03-aaec-f86fd34b569c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:50.005644"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:50.006100"], ["updated_at", "2018-01-03 17:06:50.006100"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] SQL (1.0ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:06:50.038727"], ["updated_at", "2018-01-03 17:06:50.038727"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:06:50.051286"], ["updated_at", "2018-01-03 17:06:50.051286"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:50.055334"], ["status", "success"], ["updated_at", "2018-01-03 17:06:50.058024"], ["id", 94]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fcda9f78-4111-4f03-aaec-f86fd34b569c] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: fcda9f78-4111-4f03-aaec-f86fd34b569c) from Async(default) in 53.82ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 4a4f25e5-a495-438a-a0c0-f35a3ea3974c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:50.064810"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:50.065208"], ["updated_at", "2018-01-03 17:06:50.065208"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:06:50.071868"], ["updated_at", "2018-01-03 17:06:50.071868"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:50.074310"], ["updated_at", "2018-01-03 17:06:50.074310"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:50.076832"], ["updated_at", "2018-01-03 17:06:50.076832"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:06:50.079843"], ["updated_at", "2018-01-03 17:06:50.079843"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:06:50.083354"], ["updated_at", "2018-01-03 17:06:50.083354"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:06:50.086898"], ["updated_at", "2018-01-03 17:06:50.086898"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:50.088215"], ["status", "success"], ["updated_at", "2018-01-03 17:06:50.088612"], ["id", 95]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4a4f25e5-a495-438a-a0c0-f35a3ea3974c] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 4a4f25e5-a495-438a-a0c0-f35a3ea3974c) from Async(default) in 25.7ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 0b54ff09-ab4c-4504-8563-a46f15ec0209) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:06:50.104558"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:06:50.105067"], ["updated_at", "2018-01-03 17:06:50.105067"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 082f8a27-3114-4dfd-a84b-c4916f5f855d) to Async(default) at 2018-01-03 17:07:20 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:06:50.108419"], ["status", "success"], ["updated_at", "2018-01-03 17:06:50.108775"], ["id", 96]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0b54ff09-ab4c-4504-8563-a46f15ec0209] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 0b54ff09-ab4c-4504-8563-a46f15ec0209) from Async(default) in 5.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21067729], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21067729], ["sis_id", "5c214740544e98000b89987e3c320d08"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:50.130293"], ["end_date", "2018-01-24 17:06:50.130394"], ["created_at", "2018-01-03 17:06:50.134159"], ["updated_at", "2018-01-03 17:06:50.134159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.9ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 69963469], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 69963469], ["sis_id", "3aa02b2fce8a50fe096a81961cfeaadc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:50.149564"], ["end_date", "2018-01-24 17:06:50.149689"], ["created_at", "2018-01-03 17:06:50.159098"], ["updated_at", "2018-01-03 17:06:50.159098"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.7ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 69963469], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 99631042], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 99631042], ["sis_id", "5c3c2d47dc528f17d011189f635121bb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:50.167190"], ["end_date", "2018-01-24 17:06:50.167293"], ["created_at", "2018-01-03 17:06:50.168234"], ["updated_at", "2018-01-03 17:06:50.168234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37486487], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37486487], ["sis_id", "adb8bb2bbcbfc8b1f0fa9e58414ad09f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:50.173479"], ["end_date", "2018-01-24 17:06:50.173553"], ["created_at", "2018-01-03 17:06:50.174467"], ["updated_at", "2018-01-03 17:06:50.174467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27981844], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 27981844], ["sis_id", "fe9d84d8b3617b54dcce9283ded2500d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:06:50.178394"], ["end_date", "2018-01-24 17:06:50.178465"], ["created_at", "2018-01-03 17:06:50.179389"], ["updated_at", "2018-01-03 17:06:50.179389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 4115815], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 4115815], ["created_at", "2018-01-03 17:06:50.203468"], ["updated_at", "2018-01-03 17:06:50.203468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45689698], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 45689698], ["created_at", "2018-01-03 17:06:50.220228"], ["updated_at", "2018-01-03 17:06:50.220228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45689698], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82378475], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 82378475], ["created_at", "2018-01-03 17:06:50.229062"], ["updated_at", "2018-01-03 17:06:50.229062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62695749], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62695749], ["created_at", "2018-01-03 17:06:50.235820"], ["updated_at", "2018-01-03 17:06:50.235820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 10468746], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 10468746], ["created_at", "2018-01-03 17:06:50.242331"], ["updated_at", "2018-01-03 17:06:50.242331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96777587], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 96777587], ["created_at", "2018-01-03 17:06:50.267355"], ["updated_at", "2018-01-03 17:06:50.267355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60968917], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 60968917], ["created_at", "2018-01-03 17:06:50.275956"], ["updated_at", "2018-01-03 17:06:50.275956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60968917], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 90854415], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 90854415], ["created_at", "2018-01-03 17:06:50.286165"], ["updated_at", "2018-01-03 17:06:50.286165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 26720556], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 26720556], ["created_at", "2018-01-03 17:06:50.294979"], ["updated_at", "2018-01-03 17:06:50.294979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30265069], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30265069], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "ad98b755d5760d326629e38e744be8a1"], ["created_at", "2018-01-03 17:06:50.301309"], ["updated_at", "2018-01-03 17:06:50.301309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 136], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32690691], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 32690691], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "9e2ef8a880496fb631b93697c893efd5"], ["created_at", "2018-01-03 17:06:50.316190"], ["updated_at", "2018-01-03 17:06:50.316190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32690691], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66723675], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66723675], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "d5eb6c89afd54bcc771f019f0d279f9a"], ["created_at", "2018-01-03 17:06:50.326389"], ["updated_at", "2018-01-03 17:06:50.326389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84260983], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 84260983], ["name", "Cool Term"], ["start_at", "2018-01-01 17:06:50.330397"], ["end_at", "2018-01-06 17:06:50.330479"], ["workflow_state", "active"], ["sis_id", "ebb718932ac66d167d10af8ab2431a82"], ["created_at", "2018-01-03 17:06:50.332104"], ["updated_at", "2018-01-03 17:06:50.332104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96979005], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 96979005], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "inactive"], ["sis_id", "eff2fc47f1e12f724674c1c1336a35dd"], ["created_at", "2018-01-03 17:06:50.335432"], ["updated_at", "2018-01-03 17:06:50.335432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4676949], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4676949], ["name", "Cool Term"], ["start_at", "2017-11-03 17:06:50.337058"], ["end_at", "2017-12-03 17:06:50.337141"], ["workflow_state", "active"], ["sis_id", "629c2944618adf00ec497f8e06f21fa9"], ["created_at", "2018-01-03 17:06:50.342197"], ["updated_at", "2018-01-03 17:06:50.342197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50545867], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50545867], ["name", "Cool Term"], ["start_at", "2018-07-03 17:06:50.343809"], ["end_at", "2019-01-03 17:06:50.343925"], ["workflow_state", "active"], ["sis_id", "e46123706fd9b293964a36a112d85e17"], ["created_at", "2018-01-03 17:06:50.345224"], ["updated_at", "2018-01-03 17:06:50.345224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:06:50.346656' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:06:50.346820' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:06:50.352283"], ["updated_at", "2018-01-03 17:06:50.352283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:06:48.826086"], ["end_at", "2018-01-06 17:06:48.826261"], ["workflow_state", "active"], ["sis_id", "246d8d81b884cae73ae8f5fdb117651a"], ["created_at", "2018-01-03 17:06:50.359069"], ["updated_at", "2018-01-03 17:06:50.359069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 144], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:06:50.370777"], ["id", 144]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 144], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 70725863], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 70725863], ["sis_id", "1c0097dab4469a58a49e6ae0a6a6141e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:50.397160"], ["updated_at", "2018-01-03 17:06:50.397160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 60567064], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 60567064], ["sis_id", "4b8779a9de069548bd2bb8238459d847"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:50.403531"], ["updated_at", "2018-01-03 17:06:50.403531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 60567064], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53081796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 53081796], ["sis_id", "d4eae5265399e97e9d3466296b076def"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:06:50.411167"], ["updated_at", "2018-01-03 17:06:50.411167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.5ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:06:50.425999','2018-01-03 17:06:50.425999'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:06:50.425999','2018-01-03 17:06:50.425999') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:06:50.436771','2018-01-03 17:06:50.436771'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:06:50.436771','2018-01-03 17:06:50.436771') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:06:50.447556','2018-01-03 17:06:50.447556'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:06:50.447556','2018-01-03 17:06:50.447556') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:06:50.454285','2018-01-03 17:06:50.454285'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:06:50.454285','2018-01-03 17:06:50.454285') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:06:50.459965','2018-01-03 17:06:50.459965') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:06:50.478413','2018-01-03 17:06:50.478413'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:06:50.478413','2018-01-03 17:06:50.478413') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:06:50.480925','2018-01-03 17:06:50.480925'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:06:50.480925','2018-01-03 17:06:50.480925') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600] Performing GoodJob (Job ID: 3217e1e3-2218-483d-8c8b-a86c55312600) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600] SQL (1.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.252995"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:14:15.267900"], ["updated_at", "2018-01-03 17:14:15.267900"]] [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600]  (1.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.271185"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.278127"], ["id", 97]] [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3217e1e3-2218-483d-8c8b-a86c55312600] Performed GoodJob (Job ID: 3217e1e3-2218-483d-8c8b-a86c55312600) from Async(default) in 29.9ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d] Performing BadJob (Job ID: 705f0a1c-81bd-4838-b8d2-726a53544e9d) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.294889"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:14:15.295464"], ["updated_at", "2018-01-03 17:14:15.295464"]] [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d] SQL (0.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:14:15.297979"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:14:15.298495"], ["id", 98]] [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [705f0a1c-81bd-4838-b8d2-726a53544e9d] Error performing BadJob (Job ID: 705f0a1c-81bd-4838-b8d2-726a53544e9d) from Async(default) in 6.97ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.4ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6] Performing CanvasSync::Jobs::ReportChecker (Job ID: 9751d7d8-8c00-4c82-9b9b-743fd7e542c6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.315389"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.316051"], ["updated_at", "2018-01-03 17:14:15.316051"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 99]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9751d7d8-8c00-4c82-9b9b-743fd7e542c6] Performed CanvasSync::Jobs::ReportChecker (Job ID: 9751d7d8-8c00-4c82-9b9b-743fd7e542c6) from Async(default) in 11.4ms  (2.7ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605] Performing CanvasSync::Jobs::ReportChecker (Job ID: b2b1891f-839d-4fbe-ab6d-cb315222d605) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.341952"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.342631"], ["updated_at", "2018-01-03 17:14:15.342631"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c50c41b4-afbb-4479-bb4a-955dc197e0d3) to Async(default) at 2018-01-03 17:14:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 100]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b2b1891f-839d-4fbe-ab6d-cb315222d605] Performed CanvasSync::Jobs::ReportChecker (Job ID: b2b1891f-839d-4fbe-ab6d-cb315222d605) from Async(default) in 10.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a] Performing CanvasSync::Jobs::ReportChecker (Job ID: cc66e4b6-59f8-46fe-92d9-4ac8953ba10a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.357426"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.358038"], ["updated_at", "2018-01-03 17:14:15.358038"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:14:15.361343"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:14:15.361747"], ["id", 101]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc66e4b6-59f8-46fe-92d9-4ac8953ba10a] Error performing CanvasSync::Jobs::ReportChecker (Job ID: cc66e4b6-59f8-46fe-92d9-4ac8953ba10a) from Async(default) in 6.91ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 2ea574c9-1e8e-4d5a-8bb0-006dc66d238e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.369062"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.369654"], ["updated_at", "2018-01-03 17:14:15.369654"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (0.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (1.3ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:14:15.381065"], ["id", 102]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.417817"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.418556"], ["id", 102]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2ea574c9-1e8e-4d5a-8bb0-006dc66d238e] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 2ea574c9-1e8e-4d5a-8bb0-006dc66d238e) from Async(default) in 52.14ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e] Performing CanvasSync::Jobs::ReportStarter (Job ID: 18f019d0-558a-4b6a-ac04-67f96e13c14e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.427790"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:14:15.428640"], ["updated_at", "2018-01-03 17:14:15.428640"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 81075cb7-cacc-4ff2-acbc-f911009f7242) to Async(default) at 2018-01-03 17:14:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.433740"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.434284"], ["id", 103]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [18f019d0-558a-4b6a-ac04-67f96e13c14e] Performed CanvasSync::Jobs::ReportStarter (Job ID: 18f019d0-558a-4b6a-ac04-67f96e13c14e) from Async(default) in 9.29ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6578181], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 6578181], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "bd3c2a0b890d640d71f05d9767f6a70d"], ["created_at", "2018-01-03 17:14:15.474887"], ["updated_at", "2018-01-03 17:14:15.474887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 51968473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 51968473], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "7311fb8ca790ee94ac2f5c9e15a61379"], ["created_at", "2018-01-03 17:14:15.479595"], ["updated_at", "2018-01-03 17:14:15.479595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 97502078], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 97502078], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "inactive"], ["sis_id", "4594df3160d1d86e49a9039ed801ec93"], ["created_at", "2018-01-03 17:14:15.481841"], ["updated_at", "2018-01-03 17:14:15.481841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dcc558ae-91c9-4476-9344-c5999c0a629e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.483917"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:14:15.484523"], ["updated_at", "2018-01-03 17:14:15.484523"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e] Term Load (0.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:14:15.487413' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:14:15.487650' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.489364"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.489741"], ["id", 104]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dcc558ae-91c9-4476-9344-c5999c0a629e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dcc558ae-91c9-4476-9344-c5999c0a629e) from Async(default) in 7.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5b7590a1-d7c7-4515-909c-fb8a38b34eb8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.495555"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:14:15.495908"], ["updated_at", "2018-01-03 17:14:15.495908"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.498098"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.498417"], ["id", 105]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5b7590a1-d7c7-4515-909c-fb8a38b34eb8] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5b7590a1-d7c7-4515-909c-fb8a38b34eb8) from Async(default) in 4.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: c0e8712b-64cd-49c2-82ef-82d74b2643e0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.509426"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.509931"], ["updated_at", "2018-01-03 17:14:15.509931"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] SQL (1.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:14:15.537090"], ["updated_at", "2018-01-03 17:14:15.537090"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:14:15.550402"], ["updated_at", "2018-01-03 17:14:15.550402"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.556053"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.556535"], ["id", 106]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c0e8712b-64cd-49c2-82ef-82d74b2643e0] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: c0e8712b-64cd-49c2-82ef-82d74b2643e0) from Async(default) in 49.23ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: f848a1fe-00eb-4ff7-b228-880eae917754) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.564589"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.564997"], ["updated_at", "2018-01-03 17:14:15.564997"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:14:15.572480"], ["updated_at", "2018-01-03 17:14:15.572480"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:14:15.575356"], ["updated_at", "2018-01-03 17:14:15.575356"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:14:15.578098"], ["updated_at", "2018-01-03 17:14:15.578098"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:14:15.581469"], ["updated_at", "2018-01-03 17:14:15.581469"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:14:15.584535"], ["updated_at", "2018-01-03 17:14:15.584535"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:14:15.587392"], ["updated_at", "2018-01-03 17:14:15.587392"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.588407"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.588723"], ["id", 107]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f848a1fe-00eb-4ff7-b228-880eae917754] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: f848a1fe-00eb-4ff7-b228-880eae917754) from Async(default) in 25.52ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad]  (0.4ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad] SQL (1.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:14:15.595090"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:14:15.597146"], ["updated_at", "2018-01-03 17:14:15.597146"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 72e83729-bf43-4119-b218-28006ba4fa33) to Async(default) at 2018-01-03 17:14:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:14:15.606451"], ["status", "success"], ["updated_at", "2018-01-03 17:14:15.607178"], ["id", 108]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 0ab99c40-e6cd-4ab9-a7dc-2e19be52ecad) from Async(default) in 14.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (2.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65519732], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 65519732], ["sis_id", "3af3a4345d2137fe6aedb9e7c569faaa"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:14:15.662214"], ["end_date", "2018-01-24 17:14:15.662407"], ["created_at", "2018-01-03 17:14:15.673650"], ["updated_at", "2018-01-03 17:14:15.673650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 73], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59565779], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 59565779], ["sis_id", "4ca495188ae44c6489409a4f8e53df11"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:14:15.691547"], ["end_date", "2018-01-24 17:14:15.691787"], ["created_at", "2018-01-03 17:14:15.693616"], ["updated_at", "2018-01-03 17:14:15.693616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59565779], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 38131829], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 38131829], ["sis_id", "b1ba2f9773094f88d3c7b06ceb61cff0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:14:15.706381"], ["end_date", "2018-01-24 17:14:15.706597"], ["created_at", "2018-01-03 17:14:15.708427"], ["updated_at", "2018-01-03 17:14:15.708427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9190697], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9190697], ["sis_id", "17d7bab7d3b356e3c05607638b5789fd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:14:15.717521"], ["end_date", "2018-01-24 17:14:15.717719"], ["created_at", "2018-01-03 17:14:15.719298"], ["updated_at", "2018-01-03 17:14:15.719298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 45845546], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 45845546], ["sis_id", "a6b9b17d6180336b79d3eed2263a1772"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:14:15.733526"], ["end_date", "2018-01-24 17:14:15.733688"], ["created_at", "2018-01-03 17:14:15.735380"], ["updated_at", "2018-01-03 17:14:15.735380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Enrollment Exists (3.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 4505581], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 4505581], ["created_at", "2018-01-03 17:14:15.782288"], ["updated_at", "2018-01-03 17:14:15.782288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (1.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 66546005], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 66546005], ["created_at", "2018-01-03 17:14:15.797494"], ["updated_at", "2018-01-03 17:14:15.797494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 66546005], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 47329557], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 47329557], ["created_at", "2018-01-03 17:14:15.810112"], ["updated_at", "2018-01-03 17:14:15.810112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18916076], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18916076], ["created_at", "2018-01-03 17:14:15.818041"], ["updated_at", "2018-01-03 17:14:15.818041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 35100422], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 35100422], ["created_at", "2018-01-03 17:14:15.834409"], ["updated_at", "2018-01-03 17:14:15.834409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:14:15.862428"], ["updated_at", "2018-01-03 17:14:15.862428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6874545], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 6874545], ["created_at", "2018-01-03 17:14:15.914479"], ["updated_at", "2018-01-03 17:14:15.914479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 84343595], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 84343595], ["created_at", "2018-01-03 17:14:15.925989"], ["updated_at", "2018-01-03 17:14:15.925989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 84343595], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 15445853], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 15445853], ["created_at", "2018-01-03 17:14:15.937314"], ["updated_at", "2018-01-03 17:14:15.937314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60968217], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 60968217], ["created_at", "2018-01-03 17:14:15.944590"], ["updated_at", "2018-01-03 17:14:15.944590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44546858], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44546858], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "026230dd22297261558c7fc585d8b298"], ["created_at", "2018-01-03 17:14:15.952849"], ["updated_at", "2018-01-03 17:14:15.952849"]]  (1.9ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 154], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25275976], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25275976], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "9833f4968980e0d44f3c4c10c855b398"], ["created_at", "2018-01-03 17:14:15.974837"], ["updated_at", "2018-01-03 17:14:15.974837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25275976], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 83774233], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 83774233], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "7a7c0445986765956c3d96869e57db40"], ["created_at", "2018-01-03 17:14:15.988739"], ["updated_at", "2018-01-03 17:14:15.988739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44916502], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44916502], ["name", "Cool Term"], ["start_at", "2018-01-01 17:14:15.996343"], ["end_at", "2018-01-06 17:14:15.996479"], ["workflow_state", "active"], ["sis_id", "0fc24a0711574b6ffde4502824768ffe"], ["created_at", "2018-01-03 17:14:15.998446"], ["updated_at", "2018-01-03 17:14:15.998446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10458476], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10458476], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "inactive"], ["sis_id", "c9df05350022bb0f18ac598637f6f7b3"], ["created_at", "2018-01-03 17:14:16.002515"], ["updated_at", "2018-01-03 17:14:16.002515"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 73807107], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 73807107], ["name", "Cool Term"], ["start_at", "2017-11-03 17:14:16.004538"], ["end_at", "2017-12-03 17:14:16.004618"], ["workflow_state", "active"], ["sis_id", "b4ebdb0acf206c1ff9f7dcfe648f69a7"], ["created_at", "2018-01-03 17:14:16.006559"], ["updated_at", "2018-01-03 17:14:16.006559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5545349], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5545349], ["name", "Cool Term"], ["start_at", "2018-07-03 17:14:16.008300"], ["end_at", "2019-01-03 17:14:16.008402"], ["workflow_state", "active"], ["sis_id", "c9ba0f2a25cfb415dbe2cf51c7f7d287"], ["created_at", "2018-01-03 17:14:16.019218"], ["updated_at", "2018-01-03 17:14:16.019218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:14:16.022042' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:14:16.022351' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (1.7ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:14:16.036566"], ["updated_at", "2018-01-03 17:14:16.036566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:14:14.137711"], ["end_at", "2018-01-06 17:14:14.137997"], ["workflow_state", "active"], ["sis_id", "1ba8f5d245d15cfa17e7c69b7928cb75"], ["created_at", "2018-01-03 17:14:16.047433"], ["updated_at", "2018-01-03 17:14:16.047433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 162], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:14:16.055686"], ["id", 162]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (2.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 23007728], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 23007728], ["sis_id", "c5c9fcb08d5c4a0480ecb3392b3f82db"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:14:16.103513"], ["updated_at", "2018-01-03 17:14:16.103513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 67561232], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 67561232], ["sis_id", "192cfc2c2d457eb427228d9548c696b7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:14:16.118289"], ["updated_at", "2018-01-03 17:14:16.118289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 67561232], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 48232294], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 48232294], ["sis_id", "dd775347cf06ef338b86c4a1e6d11a1b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:14:16.133841"], ["updated_at", "2018-01-03 17:14:16.133841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:14:16.157012','2018-01-03 17:14:16.157012'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:14:16.157012','2018-01-03 17:14:16.157012') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:14:16.171933','2018-01-03 17:14:16.171933'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:14:16.171933','2018-01-03 17:14:16.171933') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:14:16.185807','2018-01-03 17:14:16.185807'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:14:16.185807','2018-01-03 17:14:16.185807') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:14:16.212074','2018-01-03 17:14:16.212074'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:14:16.212074','2018-01-03 17:14:16.212074') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:14:16.227244','2018-01-03 17:14:16.227244') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.3ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:14:16.242600','2018-01-03 17:14:16.242600'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:14:16.242600','2018-01-03 17:14:16.242600') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:14:16.245391','2018-01-03 17:14:16.245391'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:14:16.245391','2018-01-03 17:14:16.245391') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627] Performing GoodJob (Job ID: 648c3302-5f03-446d-9aa6-36e1ef06b627) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.663409"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:22:33.677500"], ["updated_at", "2018-01-03 17:22:33.677500"]] [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.681091"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.681525"], ["id", 109]] [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [648c3302-5f03-446d-9aa6-36e1ef06b627] Performed GoodJob (Job ID: 648c3302-5f03-446d-9aa6-36e1ef06b627) from Async(default) in 20.37ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (2.8ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef] Performing BadJob (Job ID: 6974b1b7-6561-4d0d-85b6-eb698cb7b5ef) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.702658"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:22:33.703277"], ["updated_at", "2018-01-03 17:22:33.703277"]] [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef] SQL (0.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:22:33.705936"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:22:33.706367"], ["id", 110]] [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6974b1b7-6561-4d0d-85b6-eb698cb7b5ef] Error performing BadJob (Job ID: 6974b1b7-6561-4d0d-85b6-eb698cb7b5ef) from Async(default) in 7.98ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd] Performing CanvasSync::Jobs::ReportChecker (Job ID: 06dd5bc5-03be-42de-9581-07e4b68cc6dd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.717019"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.717568"], ["updated_at", "2018-01-03 17:22:33.717568"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 111]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [06dd5bc5-03be-42de-9581-07e4b68cc6dd] Performed CanvasSync::Jobs::ReportChecker (Job ID: 06dd5bc5-03be-42de-9581-07e4b68cc6dd) from Async(default) in 11.01ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1f8a4aa4-05af-4f69-8b6f-7c665d7849a9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.732225"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.732663"], ["updated_at", "2018-01-03 17:22:33.732663"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: bbfebbe4-73a6-43ff-916a-eb8c426c2b06) to Async(default) at 2018-01-03 17:23:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 112]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1f8a4aa4-05af-4f69-8b6f-7c665d7849a9] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1f8a4aa4-05af-4f69-8b6f-7c665d7849a9) from Async(default) in 7.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454] Performing CanvasSync::Jobs::ReportChecker (Job ID: 24a1288c-d283-4a65-94c2-313efa37f454) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.754762"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.755670"], ["updated_at", "2018-01-03 17:22:33.755670"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:22:33.760500"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:22:33.761013"], ["id", 113]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [24a1288c-d283-4a65-94c2-313efa37f454] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 24a1288c-d283-4a65-94c2-313efa37f454) from Async(default) in 9.61ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 496ae021-a094-4100-bfa6-fa6f5a6325dd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.772229"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.772847"], ["updated_at", "2018-01-03 17:22:33.772847"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:22:33.775434"], ["id", 114]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.824560"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.825350"], ["id", 114]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [496ae021-a094-4100-bfa6-fa6f5a6325dd] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 496ae021-a094-4100-bfa6-fa6f5a6325dd) from Async(default) in 55.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1] Performing CanvasSync::Jobs::ReportStarter (Job ID: c9493196-f21f-47c0-9b99-d7993e7242f1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.835421"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:22:33.836006"], ["updated_at", "2018-01-03 17:22:33.836006"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: cb4362f6-7af3-4a78-a360-b6fae0f5240b) to Async(default) at 2018-01-03 17:23:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.840815"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.841325"], ["id", 115]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c9493196-f21f-47c0-9b99-d7993e7242f1] Performed CanvasSync::Jobs::ReportStarter (Job ID: c9493196-f21f-47c0-9b99-d7993e7242f1) from Async(default) in 8.14ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65593266], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65593266], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "f34cb7afcf164925459886269a3d2323"], ["created_at", "2018-01-03 17:22:33.876403"], ["updated_at", "2018-01-03 17:22:33.876403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7218182], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7218182], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "0c1372bd7d083c7f27caec3902db6259"], ["created_at", "2018-01-03 17:22:33.881055"], ["updated_at", "2018-01-03 17:22:33.881055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60900782], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60900782], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "inactive"], ["sis_id", "750b1f8da3750a9aab5b401f41db8bbe"], ["created_at", "2018-01-03 17:22:33.884822"], ["updated_at", "2018-01-03 17:22:33.884822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b902ad6a-0c04-49d8-a706-22636d42f949) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.888888"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:22:33.889578"], ["updated_at", "2018-01-03 17:22:33.889578"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:22:33.892682' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:22:33.892925' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.894882"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.895443"], ["id", 116]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b902ad6a-0c04-49d8-a706-22636d42f949] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b902ad6a-0c04-49d8-a706-22636d42f949) from Async(default) in 8.88ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 77adc4f3-0822-44c0-976e-a5e225d5d5e4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.903666"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:22:33.904317"], ["updated_at", "2018-01-03 17:22:33.904317"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.907417"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.907968"], ["id", 117]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77adc4f3-0822-44c0-976e-a5e225d5d5e4] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 77adc4f3-0822-44c0-976e-a5e225d5d5e4) from Async(default) in 6.25ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: c2c05147-4caa-46b8-815b-8b224bd41bdb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.921230"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.921885"], ["updated_at", "2018-01-03 17:22:33.921885"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] SQL (1.1ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:22:33.959410"], ["updated_at", "2018-01-03 17:22:33.959410"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:22:33.974604"], ["updated_at", "2018-01-03 17:22:33.974604"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:33.984716"], ["status", "success"], ["updated_at", "2018-01-03 17:22:33.985242"], ["id", 118]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [c2c05147-4caa-46b8-815b-8b224bd41bdb] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: c2c05147-4caa-46b8-815b-8b224bd41bdb) from Async(default) in 66.26ms  (0.3ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: d90e188d-33c9-4356-84aa-e4d7cb022e32) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:33.994813"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:33.995375"], ["updated_at", "2018-01-03 17:22:33.995375"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:22:34.005030"], ["updated_at", "2018-01-03 17:22:34.005030"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.008511"], ["updated_at", "2018-01-03 17:22:34.008511"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.011482"], ["updated_at", "2018-01-03 17:22:34.011482"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:22:34.015549"], ["updated_at", "2018-01-03 17:22:34.015549"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:22:34.018788"], ["updated_at", "2018-01-03 17:22:34.018788"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (2.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.021962"], ["updated_at", "2018-01-03 17:22:34.021962"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:34.032789"], ["status", "success"], ["updated_at", "2018-01-03 17:22:34.033608"], ["id", 119]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d90e188d-33c9-4356-84aa-e4d7cb022e32] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: d90e188d-33c9-4356-84aa-e4d7cb022e32) from Async(default) in 41.7ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: e5244453-b803-497c-a147-f11a7d72b48b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b] SQL (1.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:22:34.043670"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:22:34.044202"], ["updated_at", "2018-01-03 17:22:34.044202"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9607ea71-a153-4255-8fde-496ab006fc8f) to Async(default) at 2018-01-03 17:23:04 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:22:34.049575"], ["status", "success"], ["updated_at", "2018-01-03 17:22:34.050067"], ["id", 120]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e5244453-b803-497c-a147-f11a7d72b48b] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: e5244453-b803-497c-a147-f11a7d72b48b) from Async(default) in 8.57ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (2.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58440835], ["LIMIT", 1]] SQL (7.7ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58440835], ["sis_id", "f711eed8b59a90f3fd54136dfa86c828"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:22:34.074947"], ["end_date", "2018-01-24 17:22:34.075138"], ["created_at", "2018-01-03 17:22:34.079852"], ["updated_at", "2018-01-03 17:22:34.079852"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23918581], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23918581], ["sis_id", "d9051e53760d631b409aea4ca0ce80b2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:22:34.107433"], ["end_date", "2018-01-24 17:22:34.107645"], ["created_at", "2018-01-03 17:22:34.109002"], ["updated_at", "2018-01-03 17:22:34.109002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23918581], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 69429754], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 69429754], ["sis_id", "2fdbe4f80a08a3f4c145ef012497a53f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:22:34.119335"], ["end_date", "2018-01-24 17:22:34.119488"], ["created_at", "2018-01-03 17:22:34.121343"], ["updated_at", "2018-01-03 17:22:34.121343"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 3531987], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 3531987], ["sis_id", "014981bed2f0de300951ff30b62ab1ba"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:22:34.128013"], ["end_date", "2018-01-24 17:22:34.128090"], ["created_at", "2018-01-03 17:22:34.129217"], ["updated_at", "2018-01-03 17:22:34.129217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 45528145], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 45528145], ["sis_id", "ca8aa72d434212d3a2aac4c7616bc3c7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:22:34.134493"], ["end_date", "2018-01-24 17:22:34.134590"], ["created_at", "2018-01-03 17:22:34.135869"], ["updated_at", "2018-01-03 17:22:34.135869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (12.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3619731], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 3619731], ["created_at", "2018-01-03 17:22:34.196100"], ["updated_at", "2018-01-03 17:22:34.196100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (1.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22616847], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22616847], ["created_at", "2018-01-03 17:22:34.210337"], ["updated_at", "2018-01-03 17:22:34.210337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22616847], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 73818136], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 73818136], ["created_at", "2018-01-03 17:22:34.221409"], ["updated_at", "2018-01-03 17:22:34.221409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22623101], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22623101], ["created_at", "2018-01-03 17:22:34.229142"], ["updated_at", "2018-01-03 17:22:34.229142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80720875], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 80720875], ["created_at", "2018-01-03 17:22:34.235442"], ["updated_at", "2018-01-03 17:22:34.235442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) SAVEPOINT active_record_1 Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 7746582], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 7746582], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.252405"], ["updated_at", "2018-01-03 17:22:34.252405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 37046678], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 37046678], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.265332"], ["updated_at", "2018-01-03 17:22:34.265332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 37046678], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:22:34.283515"], ["updated_at", "2018-01-03 17:22:34.283515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:22:34.309355"], ["updated_at", "2018-01-03 17:22:34.309355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 23], ["LIMIT", 1]] SQL (0.5ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-03 17:22:34.319147"], ["id", 23]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (3.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 17460947], ["LIMIT", 1]] SQL (4.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 17460947], ["created_at", "2018-01-03 17:22:34.363910"], ["updated_at", "2018-01-03 17:22:34.363910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2547091], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 2547091], ["created_at", "2018-01-03 17:22:34.387880"], ["updated_at", "2018-01-03 17:22:34.387880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.6ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2547091], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 25979167], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 25979167], ["created_at", "2018-01-03 17:22:34.397573"], ["updated_at", "2018-01-03 17:22:34.397573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 50427202], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 50427202], ["created_at", "2018-01-03 17:22:34.404434"], ["updated_at", "2018-01-03 17:22:34.404434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 59783313], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 59783313], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "a0b923b1f439f8f0c087025b440c2598"], ["created_at", "2018-01-03 17:22:34.412079"], ["updated_at", "2018-01-03 17:22:34.412079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 172], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24775240], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 24775240], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "90eca661e0578393c4e5a575a9ee1487"], ["created_at", "2018-01-03 17:22:34.420884"], ["updated_at", "2018-01-03 17:22:34.420884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24775240], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34271296], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34271296], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "e5ad4c56d70ec2dafc5a8ae98a5e08d8"], ["created_at", "2018-01-03 17:22:34.442698"], ["updated_at", "2018-01-03 17:22:34.442698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52829760], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 52829760], ["name", "Cool Term"], ["start_at", "2018-01-01 17:22:34.449978"], ["end_at", "2018-01-06 17:22:34.450108"], ["workflow_state", "active"], ["sis_id", "25232fa8ea3df7e88f7f0e9363e16828"], ["created_at", "2018-01-03 17:22:34.452265"], ["updated_at", "2018-01-03 17:22:34.452265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27402284], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27402284], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "inactive"], ["sis_id", "bc6a6e89697d75411429fe2472165e6c"], ["created_at", "2018-01-03 17:22:34.455944"], ["updated_at", "2018-01-03 17:22:34.455944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 99062021], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 99062021], ["name", "Cool Term"], ["start_at", "2017-11-03 17:22:34.457533"], ["end_at", "2017-12-03 17:22:34.457645"], ["workflow_state", "active"], ["sis_id", "fa399893b6e9908a69eb6c39e160a185"], ["created_at", "2018-01-03 17:22:34.459588"], ["updated_at", "2018-01-03 17:22:34.459588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35336591], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35336591], ["name", "Cool Term"], ["start_at", "2018-07-03 17:22:34.461110"], ["end_at", "2019-01-03 17:22:34.461178"], ["workflow_state", "active"], ["sis_id", "a234822b21f66c183c34e1a39697916b"], ["created_at", "2018-01-03 17:22:34.462840"], ["updated_at", "2018-01-03 17:22:34.462840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:22:34.464462' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:22:34.464639' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:22:34.473530"], ["updated_at", "2018-01-03 17:22:34.473530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:22:32.561674"], ["end_at", "2018-01-06 17:22:32.561968"], ["workflow_state", "active"], ["sis_id", "6f813e17a72630ab8ccb4436ef5b47d3"], ["created_at", "2018-01-03 17:22:34.492978"], ["updated_at", "2018-01-03 17:22:34.492978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 180], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:22:34.502236"], ["id", 180]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (1.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 180], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (10.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 5373351], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 5373351], ["sis_id", "dd567a90711bcd123921cca4247d0692"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:22:34.554071"], ["updated_at", "2018-01-03 17:22:34.554071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 44550473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 44550473], ["sis_id", "9439ef9b579aecf6509ceeee142d9927"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:22:34.568327"], ["updated_at", "2018-01-03 17:22:34.568327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 44550473], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 98832692], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 98832692], ["sis_id", "b9c02dca32cd7ecd6c22ba50c6517dbd"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:22:34.582305"], ["updated_at", "2018-01-03 17:22:34.582305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:22:34.593586','2018-01-03 17:22:34.593586'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:22:34.593586','2018-01-03 17:22:34.593586') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:22:34.613841','2018-01-03 17:22:34.613841'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:22:34.613841','2018-01-03 17:22:34.613841') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:22:34.629841','2018-01-03 17:22:34.629841'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:22:34.629841','2018-01-03 17:22:34.629841') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:22:34.646465','2018-01-03 17:22:34.646465'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:22:34.646465','2018-01-03 17:22:34.646465') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:22:34.654976','2018-01-03 17:22:34.654976') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (2.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (1.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (1.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:22:34.678273','2018-01-03 17:22:34.678273'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:22:34.678273','2018-01-03 17:22:34.678273') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:22:34.681411','2018-01-03 17:22:34.681411'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:22:34.681411','2018-01-03 17:22:34.681411') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (6.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (20.4ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f] Performing GoodJob (Job ID: 96439531-42cd-4c25-8135-50da9bab9e2f) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f] SQL (1.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.130126"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:52:38.152582"], ["updated_at", "2018-01-03 17:52:38.152582"]] [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.156716"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.157164"], ["id", 121]] [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [96439531-42cd-4c25-8135-50da9bab9e2f] Performed GoodJob (Job ID: 96439531-42cd-4c25-8135-50da9bab9e2f) from Async(default) in 29.33ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699] Performing BadJob (Job ID: c5026cbd-38ca-404f-a2de-d10af4ea2699) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.169593"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-03 17:52:38.170045"], ["updated_at", "2018-01-03 17:52:38.170045"]] [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:52:38.173123"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:52:38.173518"], ["id", 122]] [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [c5026cbd-38ca-404f-a2de-d10af4ea2699] Error performing BadJob (Job ID: c5026cbd-38ca-404f-a2de-d10af4ea2699) from Async(default) in 6.61ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2b2d5d7c-4adc-495b-a1d7-b4c600d98501) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.183691"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.184119"], ["updated_at", "2018-01-03 17:52:38.184119"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501]  (2.8ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501] SQL (0.4ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 123]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2b2d5d7c-4adc-495b-a1d7-b4c600d98501] Performed CanvasSync::Jobs::ReportChecker (Job ID: 2b2d5d7c-4adc-495b-a1d7-b4c600d98501) from Async(default) in 26.51ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c] Performing CanvasSync::Jobs::ReportChecker (Job ID: bc790379-01cf-4970-b870-000fd57ebc6c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.217187"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.217772"], ["updated_at", "2018-01-03 17:52:38.217772"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 40949c09-dbfa-4872-bbcf-2c8a04641ca3) to Async(default) at 2018-01-03 17:53:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 124]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bc790379-01cf-4970-b870-000fd57ebc6c] Performed CanvasSync::Jobs::ReportChecker (Job ID: bc790379-01cf-4970-b870-000fd57ebc6c) from Async(default) in 7.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135] Performing CanvasSync::Jobs::ReportChecker (Job ID: b9bd48b9-8d73-4bc1-abd9-11a1d6962135) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.228287"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.228645"], ["updated_at", "2018-01-03 17:52:38.228645"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135] SQL (6.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-03 17:52:38.231685"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-03 17:52:38.232062"], ["id", 125]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b9bd48b9-8d73-4bc1-abd9-11a1d6962135] Error performing CanvasSync::Jobs::ReportChecker (Job ID: b9bd48b9-8d73-4bc1-abd9-11a1d6962135) from Async(default) in 11.97ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: d9b9ad1c-32df-49c4-9c36-1e03336e622f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.243514"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.243916"], ["updated_at", "2018-01-03 17:52:38.243916"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-03 17:52:38.245949"], ["id", 126]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.285662"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.286131"], ["id", 126]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d9b9ad1c-32df-49c4-9c36-1e03336e622f] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: d9b9ad1c-32df-49c4-9c36-1e03336e622f) from Async(default) in 44.16ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d] Performing CanvasSync::Jobs::ReportStarter (Job ID: ad7e9985-f49b-4c17-8c82-92638c5c954d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.291516"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-03 17:52:38.291948"], ["updated_at", "2018-01-03 17:52:38.291948"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9ce83a4d-a10f-40b0-a05c-c9384afaf447) to Async(default) at 2018-01-03 17:53:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.294833"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.295183"], ["id", 127]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ad7e9985-f49b-4c17-8c82-92638c5c954d] Performed CanvasSync::Jobs::ReportStarter (Job ID: ad7e9985-f49b-4c17-8c82-92638c5c954d) from Async(default) in 5.36ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (24.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 88034332], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 88034332], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "c5ec46f7e06fe15160ba678e24a56314"], ["created_at", "2018-01-03 17:52:38.339626"], ["updated_at", "2018-01-03 17:52:38.339626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65010548], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65010548], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "1762f4e7acb15da258a771282be369e7"], ["created_at", "2018-01-03 17:52:38.342685"], ["updated_at", "2018-01-03 17:52:38.342685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 57723676], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 57723676], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "inactive"], ["sis_id", "099a784dfaface496201c04d4dc962bb"], ["created_at", "2018-01-03 17:52:38.346268"], ["updated_at", "2018-01-03 17:52:38.346268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f8d36204-c280-4a93-9f96-66e533c8352b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.347886"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-03 17:52:38.348290"], ["updated_at", "2018-01-03 17:52:38.348290"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:52:38.350577' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:52:38.350797' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.352164"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.352463"], ["id", 128]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f8d36204-c280-4a93-9f96-66e533c8352b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f8d36204-c280-4a93-9f96-66e533c8352b) from Async(default) in 6.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2824466b-c671-45a4-8e3a-7417aa67c3be) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be] SQL (0.7ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.358309"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-03 17:52:38.358843"], ["updated_at", "2018-01-03 17:52:38.358843"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.361463"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.361928"], ["id", 129]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2824466b-c671-45a4-8e3a-7417aa67c3be] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2824466b-c671-45a4-8e3a-7417aa67c3be) from Async(default) in 5.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 6346e5df-9476-4549-8c9a-3025458c374c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.384153"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.384916"], ["updated_at", "2018-01-03 17:52:38.384916"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] SQL (1.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:52:38.417998"], ["updated_at", "2018-01-03 17:52:38.417998"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-03 17:52:38.427366"], ["updated_at", "2018-01-03 17:52:38.427366"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.431173"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.431534"], ["id", 130]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6346e5df-9476-4549-8c9a-3025458c374c] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 6346e5df-9476-4549-8c9a-3025458c374c) from Async(default) in 48.95ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: d4c09093-d573-45a0-a74c-a67a10c370f5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.438590"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.439055"], ["updated_at", "2018-01-03 17:52:38.439055"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:52:38.445592"], ["updated_at", "2018-01-03 17:52:38.445592"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.448161"], ["updated_at", "2018-01-03 17:52:38.448161"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.450672"], ["updated_at", "2018-01-03 17:52:38.450672"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-03 17:52:38.453621"], ["updated_at", "2018-01-03 17:52:38.453621"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-03 17:52:38.456914"], ["updated_at", "2018-01-03 17:52:38.456914"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.460440"], ["updated_at", "2018-01-03 17:52:38.460440"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.461671"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.462135"], ["id", 131]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d4c09093-d573-45a0-a74c-a67a10c370f5] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: d4c09093-d573-45a0-a74c-a67a10c370f5) from Async(default) in 25.17ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 1de3b9c3-7e46-41f2-9320-3cf9193d7017) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-03 17:52:38.478252"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-03 17:52:38.478802"], ["updated_at", "2018-01-03 17:52:38.478802"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 68bd02ad-5c33-4470-b2e0-18ab0d4e457e) to Async(default) at 2018-01-03 17:53:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-03 17:52:38.482177"], ["status", "success"], ["updated_at", "2018-01-03 17:52:38.482555"], ["id", 132]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [1de3b9c3-7e46-41f2-9320-3cf9193d7017] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 1de3b9c3-7e46-41f2-9320-3cf9193d7017) from Async(default) in 5.72ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (3.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 478193], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 478193], ["sis_id", "cc8020704652add5601d1cb473cd938a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:52:38.500063"], ["end_date", "2018-01-24 17:52:38.500167"], ["created_at", "2018-01-03 17:52:38.504470"], ["updated_at", "2018-01-03 17:52:38.504470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 91], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 84027992], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 84027992], ["sis_id", "1d039d1ed1fd6762304dfe0ebe659ba3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:52:38.517893"], ["end_date", "2018-01-24 17:52:38.518033"], ["created_at", "2018-01-03 17:52:38.519318"], ["updated_at", "2018-01-03 17:52:38.519318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 84027992], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9200754], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9200754], ["sis_id", "bcc42e7dc60e8342ea84f9a98ca13c68"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:52:38.536508"], ["end_date", "2018-01-24 17:52:38.536620"], ["created_at", "2018-01-03 17:52:38.538052"], ["updated_at", "2018-01-03 17:52:38.538052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 39095791], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 39095791], ["sis_id", "51b05a4ef2ef09592f28152934d86be8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:52:38.542469"], ["end_date", "2018-01-24 17:52:38.542546"], ["created_at", "2018-01-03 17:52:38.543479"], ["updated_at", "2018-01-03 17:52:38.543479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 2235652], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 2235652], ["sis_id", "f6c5529d6eb842a50779bb7eca92663f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-12-31 17:52:38.549398"], ["end_date", "2018-01-24 17:52:38.549479"], ["created_at", "2018-01-03 17:52:38.550453"], ["updated_at", "2018-01-03 17:52:38.550453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 61889829], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 61889829], ["created_at", "2018-01-03 17:52:38.587410"], ["updated_at", "2018-01-03 17:52:38.587410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 33799385], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 33799385], ["created_at", "2018-01-03 17:52:38.596317"], ["updated_at", "2018-01-03 17:52:38.596317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 33799385], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 94577220], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 94577220], ["created_at", "2018-01-03 17:52:38.605591"], ["updated_at", "2018-01-03 17:52:38.605591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 28343508], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 28343508], ["created_at", "2018-01-03 17:52:38.611314"], ["updated_at", "2018-01-03 17:52:38.611314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 38985618], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 38985618], ["created_at", "2018-01-03 17:52:38.617972"], ["updated_at", "2018-01-03 17:52:38.617972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 76422164], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 76422164], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.636046"], ["updated_at", "2018-01-03 17:52:38.636046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 26], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 93987073], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 93987073], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.643436"], ["updated_at", "2018-01-03 17:52:38.643436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 93987073], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-03 17:52:38.657190"], ["updated_at", "2018-01-03 17:52:38.657190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-03 17:52:38.672203"], ["updated_at", "2018-01-03 17:52:38.672203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 29], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-03 17:52:38.677232"], ["id", 29]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (5.8ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 71220370], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 71220370], ["created_at", "2018-01-03 17:52:38.724927"], ["updated_at", "2018-01-03 17:52:38.724927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18072914], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 18072914], ["created_at", "2018-01-03 17:52:38.734094"], ["updated_at", "2018-01-03 17:52:38.734094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18072914], ["LIMIT", 1]]  (2.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 22368857], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 22368857], ["created_at", "2018-01-03 17:52:38.753279"], ["updated_at", "2018-01-03 17:52:38.753279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 75308708], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 75308708], ["created_at", "2018-01-03 17:52:38.760734"], ["updated_at", "2018-01-03 17:52:38.760734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 62079622], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 62079622], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "f4dce42d2583e34f2655cbd4cff01000"], ["created_at", "2018-01-03 17:52:38.769843"], ["updated_at", "2018-01-03 17:52:38.769843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 190], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34113418], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34113418], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "6328fb3a48d9c79a81ed38630fde8c72"], ["created_at", "2018-01-03 17:52:38.776299"], ["updated_at", "2018-01-03 17:52:38.776299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34113418], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 17338595], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 17338595], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "b55d40054fbc002e605dc2d37647a1fe"], ["created_at", "2018-01-03 17:52:38.783681"], ["updated_at", "2018-01-03 17:52:38.783681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93631843], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93631843], ["name", "Cool Term"], ["start_at", "2018-01-01 17:52:38.796137"], ["end_at", "2018-01-06 17:52:38.796270"], ["workflow_state", "active"], ["sis_id", "ec679bf8acaf83257504dee08851d5ae"], ["created_at", "2018-01-03 17:52:38.797834"], ["updated_at", "2018-01-03 17:52:38.797834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 13403805], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 13403805], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "inactive"], ["sis_id", "598d867d013e3c7130e3a2e94fe9298e"], ["created_at", "2018-01-03 17:52:38.800137"], ["updated_at", "2018-01-03 17:52:38.800137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21708175], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21708175], ["name", "Cool Term"], ["start_at", "2017-11-03 17:52:38.801094"], ["end_at", "2017-12-03 17:52:38.801158"], ["workflow_state", "active"], ["sis_id", "1ffda06c02e357ac1fa50738e669e367"], ["created_at", "2018-01-03 17:52:38.802218"], ["updated_at", "2018-01-03 17:52:38.802218"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82376067], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82376067], ["name", "Cool Term"], ["start_at", "2018-07-03 17:52:38.803389"], ["end_at", "2019-01-03 17:52:38.803465"], ["workflow_state", "active"], ["sis_id", "3134811b366d1cb3a7780ea70eefdc1b"], ["created_at", "2018-01-03 17:52:38.806485"], ["updated_at", "2018-01-03 17:52:38.806485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-18 17:52:38.808174' OR start_at IS NULL) AND (end_at >= '2017-12-19 17:52:38.808350' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-03 17:52:38.816231"], ["updated_at", "2018-01-03 17:52:38.816231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.3ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-12-31 17:52:37.128569"], ["end_at", "2018-01-06 17:52:37.128754"], ["workflow_state", "active"], ["sis_id", "be38a8ac447750db3aaeb26d8784cb1a"], ["created_at", "2018-01-03 17:52:38.823632"], ["updated_at", "2018-01-03 17:52:38.823632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 198], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-03 17:52:38.826815"], ["id", 198]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 198], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 User Exists (4.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 59773570], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 59773570], ["sis_id", "515af9c597da24d83539b5e66199e25b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:52:38.857749"], ["updated_at", "2018-01-03 17:52:38.857749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 14673834], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 14673834], ["sis_id", "38aa4e294f3993d2c4d8a0d05c3f3c31"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:52:38.867430"], ["updated_at", "2018-01-03 17:52:38.867430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 14673834], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 84138404], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 84138404], ["sis_id", "c29cd95504492b6537b7a2ee9d24883f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-03 17:52:38.875549"], ["updated_at", "2018-01-03 17:52:38.875549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:52:38.886431','2018-01-03 17:52:38.886431'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:52:38.886431','2018-01-03 17:52:38.886431') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:52:38.894275','2018-01-03 17:52:38.894275'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:52:38.894275','2018-01-03 17:52:38.894275') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (4.0ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (3.9ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-03 17:52:38.915220','2018-01-03 17:52:38.915220'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-03 17:52:38.915220','2018-01-03 17:52:38.915220') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:52:38.925690','2018-01-03 17:52:38.925690'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-03 17:52:38.925690','2018-01-03 17:52:38.925690') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-03 17:52:38.932413','2018-01-03 17:52:38.932413') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (4.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-03 17:52:38.941976','2018-01-03 17:52:38.941976'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-03 17:52:38.941976','2018-01-03 17:52:38.941976') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-03 17:52:38.952174','2018-01-03 17:52:38.952174'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-03 17:52:38.952174','2018-01-03 17:52:38.952174') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (18.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (120.7ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (524.9ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (16.6ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role" character varying, "canvas_role_id" bigint NOT NULL, "user" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (4.2ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.8ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.8ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.5ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.5ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (4.5ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (3.6ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.2ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (10.9ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE  (4.8ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180109210452)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20170915210836);   (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-01-09 21:32:11.785473"], ["updated_at", "2018-01-09 21:32:11.785473"]]  (0.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391] Performing GoodJob (Job ID: 46d182b1-fae8-46bc-afa0-7a9c5c338391) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.191935"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:32:12.213360"], ["updated_at", "2018-01-09 21:32:12.213360"]] [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.216874"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.217359"], ["id", 1]] [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [46d182b1-fae8-46bc-afa0-7a9c5c338391] Performed GoodJob (Job ID: 46d182b1-fae8-46bc-afa0-7a9c5c338391) from Async(default) in 27.49ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28] Performing BadJob (Job ID: 5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.228855"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:32:12.229324"], ["updated_at", "2018-01-09 21:32:12.229324"]] [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:32:12.231254"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:32:12.231541"], ["id", 2]] [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28] Error performing BadJob (Job ID: 5cf0eac9-a2b3-4b07-8a66-773e0a8d7f28) from Async(default) in 5.33ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.4ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d] Performing CanvasSync::Jobs::ReportChecker (Job ID: 9e5ebf8d-81a1-425c-adb4-77b5f86fc91d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.240668"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.241154"], ["updated_at", "2018-01-09 21:32:12.241154"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e5ebf8d-81a1-425c-adb4-77b5f86fc91d] Performed CanvasSync::Jobs::ReportChecker (Job ID: 9e5ebf8d-81a1-425c-adb4-77b5f86fc91d) from Async(default) in 16.39ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a] Performing CanvasSync::Jobs::ReportChecker (Job ID: 3507e876-bb0b-4d88-b03d-4ed11802635a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.269128"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.269591"], ["updated_at", "2018-01-09 21:32:12.269591"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e2c7fcf3-65ee-411e-9b02-03a972c51bc3) to Async(default) at 2018-01-09 21:32:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3507e876-bb0b-4d88-b03d-4ed11802635a] Performed CanvasSync::Jobs::ReportChecker (Job ID: 3507e876-bb0b-4d88-b03d-4ed11802635a) from Async(default) in 11.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54] Performing CanvasSync::Jobs::ReportChecker (Job ID: 0f92a54f-4d24-467a-a049-3a6d0e33fb54) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.285199"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.285689"], ["updated_at", "2018-01-09 21:32:12.285689"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:32:12.288534"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:32:12.289033"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0f92a54f-4d24-467a-a049-3a6d0e33fb54] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 0f92a54f-4d24-467a-a049-3a6d0e33fb54) from Async(default) in 11.93ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: a3d5aa72-a99a-409e-b9b2-e21859dea050) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.301823"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.302424"], ["updated_at", "2018-01-09 21:32:12.302424"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 21:32:12.306480"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.390762"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.391292"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a3d5aa72-a99a-409e-b9b2-e21859dea050] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: a3d5aa72-a99a-409e-b9b2-e21859dea050) from Async(default) in 91.31ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13] Performing CanvasSync::Jobs::ReportStarter (Job ID: 0f5353b0-96be-41a3-995d-10cb2aaf4f13) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.397618"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 21:32:12.398002"], ["updated_at", "2018-01-09 21:32:12.398002"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8f9f795f-4ee2-4151-82b7-afe0410d1dab) to Async(default) at 2018-01-09 21:32:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.401207"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.401644"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0f5353b0-96be-41a3-995d-10cb2aaf4f13] Performed CanvasSync::Jobs::ReportStarter (Job ID: 0f5353b0-96be-41a3-995d-10cb2aaf4f13) from Async(default) in 5.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: f22006d6-da61-4c84-b865-22afec0280bd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.413315"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.413724"], ["updated_at", "2018-01-09 21:32:12.413724"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.438118"], ["updated_at", "2018-01-09 21:32:12.438118"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role", "Custom Account Role"], ["canvas_role_id", 11], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.441722"], ["updated_at", "2018-01-09 21:32:12.441722"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role", "Test"], ["canvas_role_id", 10], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.444250"], ["updated_at", "2018-01-09 21:32:12.444250"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.445308"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.445692"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f22006d6-da61-4c84-b865-22afec0280bd] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: f22006d6-da61-4c84-b865-22afec0280bd) from Async(default) in 35.11ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (2.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37543293], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37543293], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "8097b8d8c14f0915d81fa31c8a23d321"], ["created_at", "2018-01-09 21:32:12.465495"], ["updated_at", "2018-01-09 21:32:12.465495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 92917354], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 92917354], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "5bece4f58f7215cf6c48e687acfbd403"], ["created_at", "2018-01-09 21:32:12.468092"], ["updated_at", "2018-01-09 21:32:12.468092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 57412714], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 57412714], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "inactive"], ["sis_id", "e43ecae41ceb4edcf4100c359cad466c"], ["created_at", "2018-01-09 21:32:12.470378"], ["updated_at", "2018-01-09 21:32:12.470378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6d1bf38c-ed42-46c3-bebb-013eaaaea059) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.471965"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 21:32:12.472371"], ["updated_at", "2018-01-09 21:32:12.472371"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059] Term Load (1.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:32:12.474528' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:32:12.474735' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.476817"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.477311"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6d1bf38c-ed42-46c3-bebb-013eaaaea059] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6d1bf38c-ed42-46c3-bebb-013eaaaea059) from Async(default) in 6.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 95b02c95-bf4a-459d-a247-fc458d858fe5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.482551"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 21:32:12.482974"], ["updated_at", "2018-01-09 21:32:12.482974"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.493108"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.493527"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [95b02c95-bf4a-459d-a247-fc458d858fe5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 95b02c95-bf4a-459d-a247-fc458d858fe5) from Async(default) in 13.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: d389122e-4b88-4fc0-850a-38d23e095856) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.506789"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.507188"], ["updated_at", "2018-01-09 21:32:12.507188"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] SQL (0.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:32:12.523842"], ["updated_at", "2018-01-09 21:32:12.523842"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 21:32:12.533299"], ["updated_at", "2018-01-09 21:32:12.533299"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.553042"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.553423"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [d389122e-4b88-4fc0-850a-38d23e095856] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: d389122e-4b88-4fc0-850a-38d23e095856) from Async(default) in 48.14ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: d3da2ad0-74c8-460e-927d-46eaa5647389) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.561293"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.561782"], ["updated_at", "2018-01-09 21:32:12.561782"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:32:12.567699"], ["updated_at", "2018-01-09 21:32:12.567699"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.570006"], ["updated_at", "2018-01-09 21:32:12.570006"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.572320"], ["updated_at", "2018-01-09 21:32:12.572320"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 21:32:12.575449"], ["updated_at", "2018-01-09 21:32:12.575449"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 21:32:12.578167"], ["updated_at", "2018-01-09 21:32:12.578167"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.580836"], ["updated_at", "2018-01-09 21:32:12.580836"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.582054"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.582418"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [d3da2ad0-74c8-460e-927d-46eaa5647389] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: d3da2ad0-74c8-460e-927d-46eaa5647389) from Async(default) in 22.56ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 72c0b55b-8a99-4319-9239-03fa23c8576b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:32:12.588417"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:32:12.588837"], ["updated_at", "2018-01-09 21:32:12.588837"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0b63bd85-123c-43c0-9329-b80b78c4ab8d) to Async(default) at 2018-01-09 21:32:42 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:32:12.591515"], ["status", "success"], ["updated_at", "2018-01-09 21:32:12.591785"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72c0b55b-8a99-4319-9239-03fa23c8576b] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 72c0b55b-8a99-4319-9239-03fa23c8576b) from Async(default) in 4.69ms  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.624863"], ["updated_at", "2018-01-09 21:32:12.624863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "Cool Role"], ["canvas_role_id", 94191449], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.630551"], ["updated_at", "2018-01-09 21:32:12.630551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 5], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role" = $1, "canvas_role_id" = $2, "user" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 21:32:12.634078"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37879156], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37879156], ["sis_id", "87ba5a29da951914d0ccea3adf615d31"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:32:12.660724"], ["end_date", "2018-01-30 21:32:12.660845"], ["created_at", "2018-01-09 21:32:12.664129"], ["updated_at", "2018-01-09 21:32:12.664129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98144281], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 98144281], ["sis_id", "c7baff9b95a3031ee2ed23c135a8ca0e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:32:12.670365"], ["end_date", "2018-01-30 21:32:12.670438"], ["created_at", "2018-01-09 21:32:12.671300"], ["updated_at", "2018-01-09 21:32:12.671300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98144281], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94331014], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 94331014], ["sis_id", "8bbde5057100c96f4d2a5bebca279d5d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:32:12.678263"], ["end_date", "2018-01-30 21:32:12.678334"], ["created_at", "2018-01-09 21:32:12.679149"], ["updated_at", "2018-01-09 21:32:12.679149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9255089], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9255089], ["sis_id", "7fe450e89f2c7bc6c4b6955824d25a98"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:32:12.683197"], ["end_date", "2018-01-30 21:32:12.683274"], ["created_at", "2018-01-09 21:32:12.684187"], ["updated_at", "2018-01-09 21:32:12.684187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 31349659], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 31349659], ["sis_id", "531cc049bcfdf2903d58881de3285e7e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:32:12.689597"], ["end_date", "2018-01-30 21:32:12.689724"], ["created_at", "2018-01-09 21:32:12.690970"], ["updated_at", "2018-01-09 21:32:12.690970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 24658117], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 24658117], ["created_at", "2018-01-09 21:32:12.719250"], ["updated_at", "2018-01-09 21:32:12.719250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76506280], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76506280], ["created_at", "2018-01-09 21:32:12.727963"], ["updated_at", "2018-01-09 21:32:12.727963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76506280], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 17418739], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 17418739], ["created_at", "2018-01-09 21:32:12.734620"], ["updated_at", "2018-01-09 21:32:12.734620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80385867], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 80385867], ["created_at", "2018-01-09 21:32:12.739536"], ["updated_at", "2018-01-09 21:32:12.739536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3405990], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 3405990], ["created_at", "2018-01-09 21:32:12.743856"], ["updated_at", "2018-01-09 21:32:12.743856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 98603674], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 98603674], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.749080"], ["updated_at", "2018-01-09 21:32:12.749080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 97955976], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 97955976], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.768922"], ["updated_at", "2018-01-09 21:32:12.768922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 97955976], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:32:12.782437"], ["updated_at", "2018-01-09 21:32:12.782437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:32:12.792927"], ["updated_at", "2018-01-09 21:32:12.792927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 21:32:12.797857"], ["id", 6]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (3.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73257922], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 73257922], ["created_at", "2018-01-09 21:32:12.831201"], ["updated_at", "2018-01-09 21:32:12.831201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38957393], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 38957393], ["created_at", "2018-01-09 21:32:12.838908"], ["updated_at", "2018-01-09 21:32:12.838908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38957393], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 92713614], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 92713614], ["created_at", "2018-01-09 21:32:12.846217"], ["updated_at", "2018-01-09 21:32:12.846217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 63990419], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 63990419], ["created_at", "2018-01-09 21:32:12.850996"], ["updated_at", "2018-01-09 21:32:12.850996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37619221], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37619221], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "5c114e279ba7a581564eaca0c7970064"], ["created_at", "2018-01-09 21:32:12.856865"], ["updated_at", "2018-01-09 21:32:12.856865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1102307], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1102307], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "25ce0afe9351d17aec6abcf046a5da7e"], ["created_at", "2018-01-09 21:32:12.863470"], ["updated_at", "2018-01-09 21:32:12.863470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1102307], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 64269488], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 64269488], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "3d541aff35e51ddb29510d252ab13b1b"], ["created_at", "2018-01-09 21:32:12.878993"], ["updated_at", "2018-01-09 21:32:12.878993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40069091], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40069091], ["name", "Cool Term"], ["start_at", "2018-01-07 21:32:12.883160"], ["end_at", "2018-01-12 21:32:12.883259"], ["workflow_state", "active"], ["sis_id", "fa6ac7336658c4d568f5161621e681c5"], ["created_at", "2018-01-09 21:32:12.884596"], ["updated_at", "2018-01-09 21:32:12.884596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 31011381], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 31011381], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "inactive"], ["sis_id", "22cbe53e409526a006a515c17c7d2ae5"], ["created_at", "2018-01-09 21:32:12.887913"], ["updated_at", "2018-01-09 21:32:12.887913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 92678532], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 92678532], ["name", "Cool Term"], ["start_at", "2017-11-09 21:32:12.889026"], ["end_at", "2017-12-09 21:32:12.889092"], ["workflow_state", "active"], ["sis_id", "3228fd430ed4e01b8ecc3ced5afdb5e6"], ["created_at", "2018-01-09 21:32:12.890307"], ["updated_at", "2018-01-09 21:32:12.890307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 56430114], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 56430114], ["name", "Cool Term"], ["start_at", "2018-07-09 21:32:12.891485"], ["end_at", "2019-01-09 21:32:12.891549"], ["workflow_state", "active"], ["sis_id", "25169a89019e238817b6e9d981eb99b0"], ["created_at", "2018-01-09 21:32:12.892665"], ["updated_at", "2018-01-09 21:32:12.892665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:32:12.893822' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:32:12.893951' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:32:12.899892"], ["updated_at", "2018-01-09 21:32:12.899892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 21:32:07.746754"], ["end_at", "2018-01-12 21:32:07.746930"], ["workflow_state", "active"], ["sis_id", "6dda97beab88961469601e83ed6b2e53"], ["created_at", "2018-01-09 21:32:12.906493"], ["updated_at", "2018-01-09 21:32:12.906493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 21:32:12.909608"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (2.9ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 32656231], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 32656231], ["sis_id", "750217cf988d0ee28d73186105859c03"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:32:12.940473"], ["updated_at", "2018-01-09 21:32:12.940473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 55018903], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 55018903], ["sis_id", "b33f5700c799a5a0a7ec98f4ae5d787e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:32:12.947182"], ["updated_at", "2018-01-09 21:32:12.947182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 55018903], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 39538153], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 39538153], ["sis_id", "0f8a5f9bddf9731ec684ba93cc40c02e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:32:12.953738"], ["updated_at", "2018-01-09 21:32:12.953738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:32:12.960727','2018-01-09 21:32:12.960727'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:32:12.960727','2018-01-09 21:32:12.960727') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:32:12.967990','2018-01-09 21:32:12.967990'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:32:12.967990','2018-01-09 21:32:12.967990') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 21:32:12.977115','2018-01-09 21:32:12.977115'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 21:32:12.977115','2018-01-09 21:32:12.977115') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.4ms) SELECT COUNT(*) FROM "enrollments"  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:32:12.989283','2018-01-09 21:32:12.989283'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:32:12.989283','2018-01-09 21:32:12.989283') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 21:32:12.997384','2018-01-09 21:32:12.997384') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:32:13.006910','2018-01-09 21:32:13.006910'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:32:13.006910','2018-01-09 21:32:13.006910') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:32:13.009439','2018-01-09 21:32:13.009439'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:32:13.009439','2018-01-09 21:32:13.009439') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (17.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c] Performing GoodJob (Job ID: 17cf1116-5030-4250-a7bc-3f513426f58c) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.498085"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:34:07.507985"], ["updated_at", "2018-01-09 21:34:07.507985"]] [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c]  (0.9ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c]  (0.8ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.514174"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.516959"], ["id", 14]] [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [17cf1116-5030-4250-a7bc-3f513426f58c] Performed GoodJob (Job ID: 17cf1116-5030-4250-a7bc-3f513426f58c) from Async(default) in 20.96ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9] Performing BadJob (Job ID: 7cddd626-9c85-4565-8d48-e495902d4ce9) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.526084"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:34:07.526519"], ["updated_at", "2018-01-09 21:34:07.526519"]] [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:34:07.528201"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:34:07.528469"], ["id", 15]] [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7cddd626-9c85-4565-8d48-e495902d4ce9] Error performing BadJob (Job ID: 7cddd626-9c85-4565-8d48-e495902d4ce9) from Async(default) in 5.43ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c] Performing CanvasSync::Jobs::ReportChecker (Job ID: be66d3ed-74d9-47f1-8c65-8d8cb68b675c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.536040"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.536461"], ["updated_at", "2018-01-09 21:34:07.536461"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 16]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [be66d3ed-74d9-47f1-8c65-8d8cb68b675c] Performed CanvasSync::Jobs::ReportChecker (Job ID: be66d3ed-74d9-47f1-8c65-8d8cb68b675c) from Async(default) in 8.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb] Performing CanvasSync::Jobs::ReportChecker (Job ID: 444cb54e-3b85-4ac3-b482-a3a158f564eb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.547344"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.547691"], ["updated_at", "2018-01-09 21:34:07.547691"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8ac91665-b32c-4721-b377-c5f933ec64b5) to Async(default) at 2018-01-09 21:34:37 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 17]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [444cb54e-3b85-4ac3-b482-a3a158f564eb] Performed CanvasSync::Jobs::ReportChecker (Job ID: 444cb54e-3b85-4ac3-b482-a3a158f564eb) from Async(default) in 5.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8] Performing CanvasSync::Jobs::ReportChecker (Job ID: 81569c91-5e68-4db1-bf7f-436e14e5e0f8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.556551"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.556931"], ["updated_at", "2018-01-09 21:34:07.556931"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8] SQL (0.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:34:07.559384"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:34:07.559690"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [81569c91-5e68-4db1-bf7f-436e14e5e0f8] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 81569c91-5e68-4db1-bf7f-436e14e5e0f8) from Async(default) in 5.71ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.6ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: c4c2637b-4caa-44aa-9a47-24c66034566f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.571886"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.572470"], ["updated_at", "2018-01-09 21:34:07.572470"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 21:34:07.574782"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.598951"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.599348"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c4c2637b-4caa-44aa-9a47-24c66034566f] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: c4c2637b-4caa-44aa-9a47-24c66034566f) from Async(default) in 28.91ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa] Performing CanvasSync::Jobs::ReportStarter (Job ID: f5f30016-67b3-4f79-9b0f-00fe3e2a11fa) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.605159"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 21:34:07.610292"], ["updated_at", "2018-01-09 21:34:07.610292"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 28ef0986-4047-4af1-bbb0-ebf3c6347055) to Async(default) at 2018-01-09 21:34:37 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.613121"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.613408"], ["id", 20]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f5f30016-67b3-4f79-9b0f-00fe3e2a11fa] Performed CanvasSync::Jobs::ReportStarter (Job ID: f5f30016-67b3-4f79-9b0f-00fe3e2a11fa) from Async(default) in 9.56ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (23.7ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: f3f79f7c-32b5-4c26-9614-8fb948690d14) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.644463"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.645002"], ["updated_at", "2018-01-09 21:34:07.645002"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.662062"], ["updated_at", "2018-01-09 21:34:07.662062"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role", "Custom Account Role"], ["canvas_role_id", 11], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.664815"], ["updated_at", "2018-01-09 21:34:07.664815"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role", "Test"], ["canvas_role_id", 10], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.667115"], ["updated_at", "2018-01-09 21:34:07.667115"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.668199"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.668506"], ["id", 21]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3f79f7c-32b5-4c26-9614-8fb948690d14] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: f3f79f7c-32b5-4c26-9614-8fb948690d14) from Async(default) in 25.3ms  (0.1ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (8.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 46553435], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 46553435], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "561f1ecbabc851eaa820468bd5a1be36"], ["created_at", "2018-01-09 21:34:07.692399"], ["updated_at", "2018-01-09 21:34:07.692399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 86580376], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 86580376], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "9f6e2488a83c557e1b995fcc9f310234"], ["created_at", "2018-01-09 21:34:07.695573"], ["updated_at", "2018-01-09 21:34:07.695573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40687927], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40687927], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "inactive"], ["sis_id", "c765e0ce3ea1e05d90fbe19c665b2c8d"], ["created_at", "2018-01-09 21:34:07.697763"], ["updated_at", "2018-01-09 21:34:07.697763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4799a315-4d46-4251-ab73-02e02927207e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.699276"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 21:34:07.699684"], ["updated_at", "2018-01-09 21:34:07.699684"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:34:07.701586' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:34:07.701777' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.703184"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.703509"], ["id", 22]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [4799a315-4d46-4251-ab73-02e02927207e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 4799a315-4d46-4251-ab73-02e02927207e) from Async(default) in 7.2ms  (3.4ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a334faf5-73f8-4423-86a5-147738acfc6a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.717415"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 21:34:07.718065"], ["updated_at", "2018-01-09 21:34:07.718065"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.720142"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.720399"], ["id", 23]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a334faf5-73f8-4423-86a5-147738acfc6a] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a334faf5-73f8-4423-86a5-147738acfc6a) from Async(default) in 4.31ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.5ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: f09f8364-abac-49d3-a679-517d709b1d54) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.730978"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.731392"], ["updated_at", "2018-01-09 21:34:07.731392"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:34:07.748550"], ["updated_at", "2018-01-09 21:34:07.748550"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 21:34:07.772528"], ["updated_at", "2018-01-09 21:34:07.772528"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.776752"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.777154"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [f09f8364-abac-49d3-a679-517d709b1d54] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: f09f8364-abac-49d3-a679-517d709b1d54) from Async(default) in 47.92ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 8e272d66-2c46-4719-9942-b8c9124ce00d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.784219"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.784581"], ["updated_at", "2018-01-09 21:34:07.784581"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:34:07.790163"], ["updated_at", "2018-01-09 21:34:07.790163"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.792388"], ["updated_at", "2018-01-09 21:34:07.792388"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.794831"], ["updated_at", "2018-01-09 21:34:07.794831"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 21:34:07.798370"], ["updated_at", "2018-01-09 21:34:07.798370"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 21:34:07.801147"], ["updated_at", "2018-01-09 21:34:07.801147"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.804028"], ["updated_at", "2018-01-09 21:34:07.804028"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.805060"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.805372"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8e272d66-2c46-4719-9942-b8c9124ce00d] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 8e272d66-2c46-4719-9942-b8c9124ce00d) from Async(default) in 22.51ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: ab54adb7-c039-4fce-99ad-0a7d87428d3b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:34:07.811256"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:34:07.811641"], ["updated_at", "2018-01-09 21:34:07.811641"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3ad835df-494b-4126-9572-c952e2c29c8d) to Async(default) at 2018-01-09 21:34:37 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b]  (0.6ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:34:07.814043"], ["status", "success"], ["updated_at", "2018-01-09 21:34:07.817348"], ["id", 26]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ab54adb7-c039-4fce-99ad-0a7d87428d3b] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: ab54adb7-c039-4fce-99ad-0a7d87428d3b) from Async(default) in 12.99ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 78796688], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 78796688], ["role", "Cool Role"], ["canvas_role_id", 15661444], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.830013"], ["updated_at", "2018-01-09 21:34:07.830013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 53314906], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 53314906], ["role", "Cool Role"], ["canvas_role_id", 440472], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.843484"], ["updated_at", "2018-01-09 21:34:07.843484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 53314906], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.852576"], ["updated_at", "2018-01-09 21:34:07.852576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "Cool Role"], ["canvas_role_id", 20864117], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.858296"], ["updated_at", "2018-01-09 21:34:07.858296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 12], ["LIMIT", 1]] SQL (0.7ms) UPDATE "admins" SET "role" = $1, "canvas_role_id" = $2, "user" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 21:34:07.864067"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (4.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 3395980], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 3395980], ["sis_id", "4e0b7ea3c8350413faa97f1c9b7a6490"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:34:07.886283"], ["end_date", "2018-01-30 21:34:07.886391"], ["created_at", "2018-01-09 21:34:07.891547"], ["updated_at", "2018-01-09 21:34:07.891547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29084257], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 29084257], ["sis_id", "08ddba126052ae781bc6fe6eef2d237f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:34:07.896769"], ["end_date", "2018-01-30 21:34:07.896845"], ["created_at", "2018-01-09 21:34:07.897680"], ["updated_at", "2018-01-09 21:34:07.897680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29084257], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89238914], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 89238914], ["sis_id", "f5faa233a851bb2a3a11cbc8aa65cfe5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:34:07.903332"], ["end_date", "2018-01-30 21:34:07.903427"], ["created_at", "2018-01-09 21:34:07.904382"], ["updated_at", "2018-01-09 21:34:07.904382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 51251225], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 51251225], ["sis_id", "b2954dee56cfa734a35eaa94b92a8673"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:34:07.917328"], ["end_date", "2018-01-30 21:34:07.917448"], ["created_at", "2018-01-09 21:34:07.918663"], ["updated_at", "2018-01-09 21:34:07.918663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 84974519], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 84974519], ["sis_id", "3ad6dcf7ffb32fd42bae700a73070c0a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:34:07.922902"], ["end_date", "2018-01-30 21:34:07.922975"], ["created_at", "2018-01-09 21:34:07.923885"], ["updated_at", "2018-01-09 21:34:07.923885"]]  (3.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 12260338], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 12260338], ["created_at", "2018-01-09 21:34:07.949854"], ["updated_at", "2018-01-09 21:34:07.949854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (4.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 39168473], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 39168473], ["created_at", "2018-01-09 21:34:07.966266"], ["updated_at", "2018-01-09 21:34:07.966266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 39168473], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87369378], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87369378], ["created_at", "2018-01-09 21:34:07.974748"], ["updated_at", "2018-01-09 21:34:07.974748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 11416604], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 11416604], ["created_at", "2018-01-09 21:34:07.979538"], ["updated_at", "2018-01-09 21:34:07.979538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 16072863], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 16072863], ["created_at", "2018-01-09 21:34:07.984021"], ["updated_at", "2018-01-09 21:34:07.984021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 31079055], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 31079055], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.988460"], ["updated_at", "2018-01-09 21:34:07.988460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 40048374], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 40048374], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:07.994444"], ["updated_at", "2018-01-09 21:34:07.994444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 40048374], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:34:08.013083"], ["updated_at", "2018-01-09 21:34:08.013083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:34:08.026095"], ["updated_at", "2018-01-09 21:34:08.026095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 21:34:08.031032"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (5.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 79337041], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 79337041], ["created_at", "2018-01-09 21:34:08.069993"], ["updated_at", "2018-01-09 21:34:08.069993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93800279], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 93800279], ["created_at", "2018-01-09 21:34:08.077665"], ["updated_at", "2018-01-09 21:34:08.077665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93800279], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 29599069], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 29599069], ["created_at", "2018-01-09 21:34:08.084770"], ["updated_at", "2018-01-09 21:34:08.084770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 88336595], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 88336595], ["created_at", "2018-01-09 21:34:08.089132"], ["updated_at", "2018-01-09 21:34:08.089132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63326971], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63326971], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "e68e3de06e8870252f3e675393bd3900"], ["created_at", "2018-01-09 21:34:08.094762"], ["updated_at", "2018-01-09 21:34:08.094762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 29618992], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 29618992], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "620cbbfc68a8b705537bb4ffbdeb0191"], ["created_at", "2018-01-09 21:34:08.101386"], ["updated_at", "2018-01-09 21:34:08.101386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 29618992], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91476855], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 91476855], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "23aa15a659e572cb03c03b9f1c930c85"], ["created_at", "2018-01-09 21:34:08.117233"], ["updated_at", "2018-01-09 21:34:08.117233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 46740547], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 46740547], ["name", "Cool Term"], ["start_at", "2018-01-07 21:34:08.122185"], ["end_at", "2018-01-12 21:34:08.122268"], ["workflow_state", "active"], ["sis_id", "3e464f95fc17c4e27ab00062ec78ec82"], ["created_at", "2018-01-09 21:34:08.123562"], ["updated_at", "2018-01-09 21:34:08.123562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25626580], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25626580], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "inactive"], ["sis_id", "bac2916d67608a618d3410250f7c42aa"], ["created_at", "2018-01-09 21:34:08.126904"], ["updated_at", "2018-01-09 21:34:08.126904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79455591], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 79455591], ["name", "Cool Term"], ["start_at", "2017-11-09 21:34:08.127932"], ["end_at", "2017-12-09 21:34:08.128010"], ["workflow_state", "active"], ["sis_id", "cfc9ec3a7cf1ee9ab13412e148ef5a8a"], ["created_at", "2018-01-09 21:34:08.129160"], ["updated_at", "2018-01-09 21:34:08.129160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85505704], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 85505704], ["name", "Cool Term"], ["start_at", "2018-07-09 21:34:08.130131"], ["end_at", "2019-01-09 21:34:08.130182"], ["workflow_state", "active"], ["sis_id", "2bccf86a045ca4bb1b5c17463ecbacab"], ["created_at", "2018-01-09 21:34:08.131270"], ["updated_at", "2018-01-09 21:34:08.131270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:34:08.132481' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:34:08.132634' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:34:08.139038"], ["updated_at", "2018-01-09 21:34:08.139038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 21:34:06.528508"], ["end_at", "2018-01-12 21:34:06.528697"], ["workflow_state", "active"], ["sis_id", "d5bdd104606bf93da77097c2bae46552"], ["created_at", "2018-01-09 21:34:08.144978"], ["updated_at", "2018-01-09 21:34:08.144978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 21:34:08.147779"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (4.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 48086148], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 48086148], ["sis_id", "75ba0cbe8d9e11c252cd1e9238cf42ea"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:34:08.174176"], ["updated_at", "2018-01-09 21:34:08.174176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 4267230], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 4267230], ["sis_id", "64c04d28deb8a37027777f01b4f16881"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:34:08.183006"], ["updated_at", "2018-01-09 21:34:08.183006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 4267230], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 31754528], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 31754528], ["sis_id", "53d60560a0f3f9fc13e50697e39559a5"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:34:08.190816"], ["updated_at", "2018-01-09 21:34:08.190816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:34:08.197775','2018-01-09 21:34:08.197775'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:34:08.197775','2018-01-09 21:34:08.197775') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:34:08.203759','2018-01-09 21:34:08.203759'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:34:08.203759','2018-01-09 21:34:08.203759') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 21:34:08.216016','2018-01-09 21:34:08.216016'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 21:34:08.216016','2018-01-09 21:34:08.216016') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:34:08.229581','2018-01-09 21:34:08.229581'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:34:08.229581','2018-01-09 21:34:08.229581') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 21:34:08.237497','2018-01-09 21:34:08.237497') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:34:08.249090','2018-01-09 21:34:08.249090'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:34:08.249090','2018-01-09 21:34:08.249090') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:34:08.251052','2018-01-09 21:34:08.251052'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:34:08.251052','2018-01-09 21:34:08.251052') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b] Performing GoodJob (Job ID: c8e30092-8c99-42a3-8c19-e4bff30ea12b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.527549"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:35:09.545280"], ["updated_at", "2018-01-09 21:35:09.545280"]] [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.548536"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.548875"], ["id", 27]] [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c8e30092-8c99-42a3-8c19-e4bff30ea12b] Performed GoodJob (Job ID: c8e30092-8c99-42a3-8c19-e4bff30ea12b) from Async(default) in 22.84ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8] Performing BadJob (Job ID: 2e9b10bb-2d04-4b48-9874-9a43b8af2bc8) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.558583"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:35:09.559012"], ["updated_at", "2018-01-09 21:35:09.559012"]] [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:35:09.560733"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:35:09.561073"], ["id", 28]] [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e9b10bb-2d04-4b48-9874-9a43b8af2bc8] Error performing BadJob (Job ID: 2e9b10bb-2d04-4b48-9874-9a43b8af2bc8) from Async(default) in 4.3ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8e768e0c-d674-4634-9732-266cbcf91a85) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.567376"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.567741"], ["updated_at", "2018-01-09 21:35:09.567741"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 29]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8e768e0c-d674-4634-9732-266cbcf91a85] Performed CanvasSync::Jobs::ReportChecker (Job ID: 8e768e0c-d674-4634-9732-266cbcf91a85) from Async(default) in 7.66ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d] Performing CanvasSync::Jobs::ReportChecker (Job ID: f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.578656"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.579006"], ["updated_at", "2018-01-09 21:35:09.579006"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9e35f109-3ed7-442f-92f2-103944abedd6) to Async(default) at 2018-01-09 21:35:39 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 30]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d] Performed CanvasSync::Jobs::ReportChecker (Job ID: f3b7f76a-7996-43da-b8eb-59b1cd9a5a7d) from Async(default) in 5.43ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1bd7077f-4e73-491e-a1a7-5ca5cda4e30f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.588092"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.588639"], ["updated_at", "2018-01-09 21:35:09.588639"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:35:09.598181"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:35:09.598660"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1bd7077f-4e73-491e-a1a7-5ca5cda4e30f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 1bd7077f-4e73-491e-a1a7-5ca5cda4e30f) from Async(default) in 13.07ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: afd8abb0-e882-41d8-92ff-e2c443df20bd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.606010"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.606422"], ["updated_at", "2018-01-09 21:35:09.606422"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 21:35:09.608810"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.639591"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.640176"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [afd8abb0-e882-41d8-92ff-e2c443df20bd] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: afd8abb0-e882-41d8-92ff-e2c443df20bd) from Async(default) in 36.07ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9b4b93aa-5c40-439a-b9b9-6c660597f7ce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.654085"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 21:35:09.654637"], ["updated_at", "2018-01-09 21:35:09.654637"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 323095fa-8249-4f03-a9ba-24d818564585) to Async(default) at 2018-01-09 21:35:39 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.657729"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.658076"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9b4b93aa-5c40-439a-b9b9-6c660597f7ce] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9b4b93aa-5c40-439a-b9b9-6c660597f7ce) from Async(default) in 5.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 83853c59-40c5-4022-9408-5e462d067733) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.667651"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.668104"], ["updated_at", "2018-01-09 21:35:09.668104"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.683238"], ["updated_at", "2018-01-09 21:35:09.683238"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role", "Custom Account Role"], ["canvas_role_id", 11], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.686375"], ["updated_at", "2018-01-09 21:35:09.686375"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role", "Test"], ["canvas_role_id", 10], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.688926"], ["updated_at", "2018-01-09 21:35:09.688926"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.689966"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.690255"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [83853c59-40c5-4022-9408-5e462d067733] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 83853c59-40c5-4022-9408-5e462d067733) from Async(default) in 23.86ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5198074], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5198074], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "de799b72428e6681abad43277a250c34"], ["created_at", "2018-01-09 21:35:09.719649"], ["updated_at", "2018-01-09 21:35:09.719649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61994575], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61994575], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "c105067ec064023ae89eb2df87d09ba6"], ["created_at", "2018-01-09 21:35:09.723988"], ["updated_at", "2018-01-09 21:35:09.723988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55962485], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 55962485], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "inactive"], ["sis_id", "faa46a707a312a53f6e2032b89cffd41"], ["created_at", "2018-01-09 21:35:09.726629"], ["updated_at", "2018-01-09 21:35:09.726629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.728430"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 21:35:09.728897"], ["updated_at", "2018-01-09 21:35:09.728897"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:35:09.731076' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:35:09.731298' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.733018"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.733411"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 40ea94b6-ccd9-45b5-97fb-95ae1cd01d0b) from Async(default) in 6.64ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a9cf0ace-0d87-4718-b6da-5c27975ea834) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.739211"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 21:35:09.739707"], ["updated_at", "2018-01-09 21:35:09.739707"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.741636"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.741892"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a9cf0ace-0d87-4718-b6da-5c27975ea834] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a9cf0ace-0d87-4718-b6da-5c27975ea834) from Async(default) in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: a5dfb607-6ea7-426d-8e0c-575feb9735d7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.750279"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.750753"], ["updated_at", "2018-01-09 21:35:09.750753"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:35:09.769533"], ["updated_at", "2018-01-09 21:35:09.769533"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] SQL (1.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 21:35:09.787952"], ["updated_at", "2018-01-09 21:35:09.787952"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.798966"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.799294"], ["id", 37]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a5dfb607-6ea7-426d-8e0c-575feb9735d7] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: a5dfb607-6ea7-426d-8e0c-575feb9735d7) from Async(default) in 50.81ms  (0.3ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: fd3b402f-dcfc-499c-b500-cc9d39ef0434) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.807264"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.807620"], ["updated_at", "2018-01-09 21:35:09.807620"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:35:09.813846"], ["updated_at", "2018-01-09 21:35:09.813846"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.816487"], ["updated_at", "2018-01-09 21:35:09.816487"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.818964"], ["updated_at", "2018-01-09 21:35:09.818964"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 21:35:09.822387"], ["updated_at", "2018-01-09 21:35:09.822387"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 21:35:09.825416"], ["updated_at", "2018-01-09 21:35:09.825416"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.827942"], ["updated_at", "2018-01-09 21:35:09.827942"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.829125"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.829477"], ["id", 38]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fd3b402f-dcfc-499c-b500-cc9d39ef0434] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: fd3b402f-dcfc-499c-b500-cc9d39ef0434) from Async(default) in 23.79ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 6a47d68d-4134-4ae2-b598-c23fb58adad2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2] SQL (4.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:35:09.835977"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:35:09.836385"], ["updated_at", "2018-01-09 21:35:09.836385"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fa94938d-7dab-44b8-9472-6a724a2751da) to Async(default) at 2018-01-09 21:35:39 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:35:09.847377"], ["status", "success"], ["updated_at", "2018-01-09 21:35:09.847787"], ["id", 39]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [6a47d68d-4134-4ae2-b598-c23fb58adad2] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 6a47d68d-4134-4ae2-b598-c23fb58adad2) from Async(default) in 13.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 21706883], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 21706883], ["role", "Cool Role"], ["canvas_role_id", 37416426], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.855630"], ["updated_at", "2018-01-09 21:35:09.855630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 10015087], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 10015087], ["role", "Cool Role"], ["canvas_role_id", 54306853], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.868834"], ["updated_at", "2018-01-09 21:35:09.868834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 10015087], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.878007"], ["updated_at", "2018-01-09 21:35:09.878007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "Cool Role"], ["canvas_role_id", 92406952], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:09.933731"], ["updated_at", "2018-01-09 21:35:09.933731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 19], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role" = $1, "canvas_role_id" = $2, "user" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 21:35:09.937013"], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44390596], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 44390596], ["sis_id", "2f9db29fe204e10364f222adcd0c033d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:35:09.955617"], ["end_date", "2018-01-30 21:35:09.955759"], ["created_at", "2018-01-09 21:35:09.958558"], ["updated_at", "2018-01-09 21:35:09.958558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44597981], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 44597981], ["sis_id", "fc437fc89ac7bf92bc8c9c0267254af2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:35:09.974369"], ["end_date", "2018-01-30 21:35:09.974464"], ["created_at", "2018-01-09 21:35:09.975579"], ["updated_at", "2018-01-09 21:35:09.975579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44597981], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 28819933], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 28819933], ["sis_id", "664c3cb9dbbc2054878cd6307ac49b9e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:35:09.984427"], ["end_date", "2018-01-30 21:35:09.984519"], ["created_at", "2018-01-09 21:35:09.985492"], ["updated_at", "2018-01-09 21:35:09.985492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 8837422], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 8837422], ["sis_id", "463df2bb6118a0465b1b268fcb9dff5e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:35:09.990331"], ["end_date", "2018-01-30 21:35:09.990405"], ["created_at", "2018-01-09 21:35:09.991410"], ["updated_at", "2018-01-09 21:35:09.991410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 82893077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 82893077], ["sis_id", "613e3566810a52d556ebefe7c4d4624f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:35:09.995830"], ["end_date", "2018-01-30 21:35:09.995897"], ["created_at", "2018-01-09 21:35:09.996930"], ["updated_at", "2018-01-09 21:35:09.996930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 13106550], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 13106550], ["created_at", "2018-01-09 21:35:10.015040"], ["updated_at", "2018-01-09 21:35:10.015040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18509082], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18509082], ["created_at", "2018-01-09 21:35:10.030693"], ["updated_at", "2018-01-09 21:35:10.030693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18509082], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 79911592], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 79911592], ["created_at", "2018-01-09 21:35:10.042565"], ["updated_at", "2018-01-09 21:35:10.042565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18877731], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18877731], ["created_at", "2018-01-09 21:35:10.047984"], ["updated_at", "2018-01-09 21:35:10.047984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 74657770], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 74657770], ["created_at", "2018-01-09 21:35:10.053100"], ["updated_at", "2018-01-09 21:35:10.053100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 67590465], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 67590465], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:10.057943"], ["updated_at", "2018-01-09 21:35:10.057943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41001950], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 41001950], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:10.063179"], ["updated_at", "2018-01-09 21:35:10.063179"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41001950], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:35:10.083307"], ["updated_at", "2018-01-09 21:35:10.083307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:35:10.094994"], ["updated_at", "2018-01-09 21:35:10.094994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 21:35:10.099560"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 29701048], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 29701048], ["created_at", "2018-01-09 21:35:10.129382"], ["updated_at", "2018-01-09 21:35:10.129382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 29920953], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 29920953], ["created_at", "2018-01-09 21:35:10.136430"], ["updated_at", "2018-01-09 21:35:10.136430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 29920953], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96177903], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 96177903], ["created_at", "2018-01-09 21:35:10.142853"], ["updated_at", "2018-01-09 21:35:10.142853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47985907], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 47985907], ["created_at", "2018-01-09 21:35:10.147345"], ["updated_at", "2018-01-09 21:35:10.147345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72146984], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72146984], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "1d927dfba150571d208b8ff1f11c8602"], ["created_at", "2018-01-09 21:35:10.152676"], ["updated_at", "2018-01-09 21:35:10.152676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80020796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80020796], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "f6474100200370e2bc32f9056786d321"], ["created_at", "2018-01-09 21:35:10.159560"], ["updated_at", "2018-01-09 21:35:10.159560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80020796], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 29150689], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 29150689], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "7dc4846b5d0c670edaf90678228f3f9f"], ["created_at", "2018-01-09 21:35:10.166200"], ["updated_at", "2018-01-09 21:35:10.166200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63987290], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63987290], ["name", "Cool Term"], ["start_at", "2018-01-07 21:35:10.177469"], ["end_at", "2018-01-12 21:35:10.177554"], ["workflow_state", "active"], ["sis_id", "3a87e1f84640e1120b0ffb86125fbeed"], ["created_at", "2018-01-09 21:35:10.178860"], ["updated_at", "2018-01-09 21:35:10.178860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 54567625], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 54567625], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "inactive"], ["sis_id", "b7f6d04caa1d3a706e4258523f5b56f7"], ["created_at", "2018-01-09 21:35:10.180922"], ["updated_at", "2018-01-09 21:35:10.180922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45397242], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45397242], ["name", "Cool Term"], ["start_at", "2017-11-09 21:35:10.182039"], ["end_at", "2017-12-09 21:35:10.182109"], ["workflow_state", "active"], ["sis_id", "40120bd9b7025f1156e0dde791d9e9f9"], ["created_at", "2018-01-09 21:35:10.183306"], ["updated_at", "2018-01-09 21:35:10.183306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36968933], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36968933], ["name", "Cool Term"], ["start_at", "2018-07-09 21:35:10.184311"], ["end_at", "2019-01-09 21:35:10.184379"], ["workflow_state", "active"], ["sis_id", "7fc2cc2c9aec5f08e77d01ab699d3590"], ["created_at", "2018-01-09 21:35:10.186729"], ["updated_at", "2018-01-09 21:35:10.186729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:35:10.187967' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:35:10.188110' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:35:10.196427"], ["updated_at", "2018-01-09 21:35:10.196427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 21:35:08.591981"], ["end_at", "2018-01-12 21:35:08.592207"], ["workflow_state", "active"], ["sis_id", "4da0bbf1f63eaced73347407125de346"], ["created_at", "2018-01-09 21:35:10.202931"], ["updated_at", "2018-01-09 21:35:10.202931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 21:35:10.206200"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 23606591], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 23606591], ["sis_id", "ee59c85acfad3787ece06e1c5434fa8c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:35:10.230918"], ["updated_at", "2018-01-09 21:35:10.230918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88028195], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 88028195], ["sis_id", "7fd0eeea0a40992ef0dd4a67b581a107"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:35:10.238628"], ["updated_at", "2018-01-09 21:35:10.238628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88028195], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 33925126], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 33925126], ["sis_id", "01fdba3a58923fff5894c3d6f81f328a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:35:10.245430"], ["updated_at", "2018-01-09 21:35:10.245430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:35:10.253398','2018-01-09 21:35:10.253398'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:35:10.253398','2018-01-09 21:35:10.253398') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:35:10.259987','2018-01-09 21:35:10.259987'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:35:10.259987','2018-01-09 21:35:10.259987') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 21:35:10.276255','2018-01-09 21:35:10.276255'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 21:35:10.276255','2018-01-09 21:35:10.276255') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:35:10.285406','2018-01-09 21:35:10.285406'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:35:10.285406','2018-01-09 21:35:10.285406') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 21:35:10.292921','2018-01-09 21:35:10.292921') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:35:10.303024','2018-01-09 21:35:10.303024'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:35:10.303024','2018-01-09 21:35:10.303024') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:35:10.304837','2018-01-09 21:35:10.304837'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:35:10.304837','2018-01-09 21:35:10.304837') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8] Performing GoodJob (Job ID: 628bd6df-ee07-42f9-8b8e-af5d6e287af8) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.677431"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:36:10.687103"], ["updated_at", "2018-01-09 21:36:10.687103"]] [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.689540"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.689800"], ["id", 40]] [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [628bd6df-ee07-42f9-8b8e-af5d6e287af8] Performed GoodJob (Job ID: 628bd6df-ee07-42f9-8b8e-af5d6e287af8) from Async(default) in 13.65ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (3.3ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a] Performing BadJob (Job ID: ceff5249-fc5e-4e72-a621-76f9ab25923a) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.705615"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 21:36:10.706131"], ["updated_at", "2018-01-09 21:36:10.706131"]] [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:36:10.707747"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:36:10.708028"], ["id", 41]] [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ceff5249-fc5e-4e72-a621-76f9ab25923a] Error performing BadJob (Job ID: ceff5249-fc5e-4e72-a621-76f9ab25923a) from Async(default) in 4.22ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8] Performing CanvasSync::Jobs::ReportChecker (Job ID: cfffd15b-bd81-46ab-8afe-5f8140c7aca8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8]  (1.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.714014"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.715529"], ["updated_at", "2018-01-09 21:36:10.715529"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cfffd15b-bd81-46ab-8afe-5f8140c7aca8] Performed CanvasSync::Jobs::ReportChecker (Job ID: cfffd15b-bd81-46ab-8afe-5f8140c7aca8) from Async(default) in 9.36ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30] Performing CanvasSync::Jobs::ReportChecker (Job ID: 9e329bc5-7d9d-4355-81c2-c5b0fba5bc30) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.726467"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.726776"], ["updated_at", "2018-01-09 21:36:10.726776"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9882103e-2e22-4ae4-83fd-1c5d950e4fa8) to Async(default) at 2018-01-09 21:36:40 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e329bc5-7d9d-4355-81c2-c5b0fba5bc30] Performed CanvasSync::Jobs::ReportChecker (Job ID: 9e329bc5-7d9d-4355-81c2-c5b0fba5bc30) from Async(default) in 4.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983] Performing CanvasSync::Jobs::ReportChecker (Job ID: cbd7a27c-6871-410d-b8b9-048bf34c6983) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.734604"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.734969"], ["updated_at", "2018-01-09 21:36:10.734969"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 21:36:10.737644"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 21:36:10.738016"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cbd7a27c-6871-410d-b8b9-048bf34c6983] Error performing CanvasSync::Jobs::ReportChecker (Job ID: cbd7a27c-6871-410d-b8b9-048bf34c6983) from Async(default) in 11.9ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 10663b01-6ab4-4aa1-9daf-33b018939fcf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.750584"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.751140"], ["updated_at", "2018-01-09 21:36:10.751140"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 21:36:10.753332"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.781256"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.781657"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [10663b01-6ab4-4aa1-9daf-33b018939fcf] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 10663b01-6ab4-4aa1-9daf-33b018939fcf) from Async(default) in 33.73ms  (1.5ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb] Performing CanvasSync::Jobs::ReportStarter (Job ID: 54ae2328-063e-40fe-9480-ea0e11a7f6cb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.794023"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 21:36:10.794418"], ["updated_at", "2018-01-09 21:36:10.794418"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a53b0592-f52a-404a-b6ae-37c12567614a) to Async(default) at 2018-01-09 21:36:40 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.797110"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.797477"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54ae2328-063e-40fe-9480-ea0e11a7f6cb] Performed CanvasSync::Jobs::ReportStarter (Job ID: 54ae2328-063e-40fe-9480-ea0e11a7f6cb) from Async(default) in 5.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: ffb26437-503b-4ddf-a48e-6a4511b73fb7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.807864"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.808264"], ["updated_at", "2018-01-09 21:36:10.808264"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.823531"], ["updated_at", "2018-01-09 21:36:10.823531"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role", "Custom Account Role"], ["canvas_role_id", 11], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.826142"], ["updated_at", "2018-01-09 21:36:10.826142"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role", "Test"], ["canvas_role_id", 10], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.836020"], ["updated_at", "2018-01-09 21:36:10.836020"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.837303"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.837599"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ffb26437-503b-4ddf-a48e-6a4511b73fb7] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: ffb26437-503b-4ddf-a48e-6a4511b73fb7) from Async(default) in 31.37ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21498196], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21498196], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "56f1749dd2f422ea42cf3507f872a769"], ["created_at", "2018-01-09 21:36:10.856425"], ["updated_at", "2018-01-09 21:36:10.856425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94423453], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94423453], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "b98a6a7b5d4fc68721f8cc3874c83934"], ["created_at", "2018-01-09 21:36:10.859014"], ["updated_at", "2018-01-09 21:36:10.859014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 17151703], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 17151703], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "inactive"], ["sis_id", "690eccad18108d1b62c90c9c7e6deaed"], ["created_at", "2018-01-09 21:36:10.860865"], ["updated_at", "2018-01-09 21:36:10.860865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d323fd2f-7b22-423e-b69c-9e38809a2919) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.862278"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 21:36:10.862590"], ["updated_at", "2018-01-09 21:36:10.862590"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:36:10.864328' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:36:10.864509' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.865656"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.865945"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d323fd2f-7b22-423e-b69c-9e38809a2919] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d323fd2f-7b22-423e-b69c-9e38809a2919) from Async(default) in 5.01ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b02378f3-cd92-4552-9be3-54dfe9bec501) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.870048"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 21:36:10.870354"], ["updated_at", "2018-01-09 21:36:10.870354"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.872122"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.872386"], ["id", 49]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b02378f3-cd92-4552-9be3-54dfe9bec501] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b02378f3-cd92-4552-9be3-54dfe9bec501) from Async(default) in 3.64ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.880670"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.881121"], ["updated_at", "2018-01-09 21:36:10.881121"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:36:10.910984"], ["updated_at", "2018-01-09 21:36:10.910984"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 21:36:10.922830"], ["updated_at", "2018-01-09 21:36:10.922830"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.926792"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.927142"], ["id", 50]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: bd3cd95d-c3ae-4b71-b5a7-0b99712c8f1b) from Async(default) in 47.93ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: a7b126ce-1b29-4bee-a613-218cac3ab496) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.934368"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.934831"], ["updated_at", "2018-01-09 21:36:10.934831"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:36:10.941293"], ["updated_at", "2018-01-09 21:36:10.941293"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.944493"], ["updated_at", "2018-01-09 21:36:10.944493"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.947596"], ["updated_at", "2018-01-09 21:36:10.947596"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 21:36:10.951506"], ["updated_at", "2018-01-09 21:36:10.951506"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 21:36:10.955390"], ["updated_at", "2018-01-09 21:36:10.955390"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.959015"], ["updated_at", "2018-01-09 21:36:10.959015"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.960082"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.960391"], ["id", 51]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a7b126ce-1b29-4bee-a613-218cac3ab496] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: a7b126ce-1b29-4bee-a613-218cac3ab496) from Async(default) in 27.47ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: af51269f-cd6a-48f7-9f2c-1d458cd3abf1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 21:36:10.974367"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 21:36:10.974832"], ["updated_at", "2018-01-09 21:36:10.974832"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ddedec12-2d4f-4e5f-9dae-27a09cc91378) to Async(default) at 2018-01-09 21:36:40 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 21:36:10.977867"], ["status", "success"], ["updated_at", "2018-01-09 21:36:10.978153"], ["id", 52]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [af51269f-cd6a-48f7-9f2c-1d458cd3abf1] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: af51269f-cd6a-48f7-9f2c-1d458cd3abf1) from Async(default) in 5.16ms  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 23540569], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 23540569], ["role", "Cool Role"], ["canvas_role_id", 69421180], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.985388"], ["updated_at", "2018-01-09 21:36:10.985388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 67478548], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 67478548], ["role", "Cool Role"], ["canvas_role_id", 93540076], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:10.995614"], ["updated_at", "2018-01-09 21:36:10.995614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 67478548], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:11.004155"], ["updated_at", "2018-01-09 21:36:11.004155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "Cool Role"], ["canvas_role_id", 1415590], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:11.011070"], ["updated_at", "2018-01-09 21:36:11.011070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 26], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role" = $1, "canvas_role_id" = $2, "user" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 21:36:11.014229"], ["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 95525789], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 95525789], ["sis_id", "6808a7d2579162d30d8c4da70df5cdcf"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:36:11.040052"], ["end_date", "2018-01-30 21:36:11.040152"], ["created_at", "2018-01-09 21:36:11.042302"], ["updated_at", "2018-01-09 21:36:11.042302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 62927987], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 62927987], ["sis_id", "550fb7ede07d3b54c36f0abc614040e9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:36:11.048606"], ["end_date", "2018-01-30 21:36:11.048682"], ["created_at", "2018-01-09 21:36:11.052086"], ["updated_at", "2018-01-09 21:36:11.052086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 62927987], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1027595], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1027595], ["sis_id", "695c06e0e5de6a09119bacce58e89c16"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:36:11.058206"], ["end_date", "2018-01-30 21:36:11.058284"], ["created_at", "2018-01-09 21:36:11.059083"], ["updated_at", "2018-01-09 21:36:11.059083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21807700], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21807700], ["sis_id", "a242d19015ae75fd263c7cb1adc9705c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:36:11.067655"], ["end_date", "2018-01-30 21:36:11.068019"], ["created_at", "2018-01-09 21:36:11.070874"], ["updated_at", "2018-01-09 21:36:11.070874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 48943478], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 48943478], ["sis_id", "520808962fc51bd682bc43938a7ca422"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 21:36:11.076119"], ["end_date", "2018-01-30 21:36:11.076204"], ["created_at", "2018-01-09 21:36:11.077130"], ["updated_at", "2018-01-09 21:36:11.077130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 51726965], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 51726965], ["created_at", "2018-01-09 21:36:11.097718"], ["updated_at", "2018-01-09 21:36:11.097718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 54631858], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 54631858], ["created_at", "2018-01-09 21:36:11.104141"], ["updated_at", "2018-01-09 21:36:11.104141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 54631858], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 15550136], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 15550136], ["created_at", "2018-01-09 21:36:11.113554"], ["updated_at", "2018-01-09 21:36:11.113554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 1990321], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 1990321], ["created_at", "2018-01-09 21:36:11.128061"], ["updated_at", "2018-01-09 21:36:11.128061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 5814866], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 5814866], ["created_at", "2018-01-09 21:36:11.133391"], ["updated_at", "2018-01-09 21:36:11.133391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41083290], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 41083290], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:11.139786"], ["updated_at", "2018-01-09 21:36:11.139786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 32643025], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 32643025], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:11.145655"], ["updated_at", "2018-01-09 21:36:11.145655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 32643025], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (4.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 21:36:11.157122"], ["updated_at", "2018-01-09 21:36:11.157122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (1.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 21:36:11.181222"], ["updated_at", "2018-01-09 21:36:11.181222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 24], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 21:36:11.186519"], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (1.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 49703687], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 49703687], ["created_at", "2018-01-09 21:36:11.213507"], ["updated_at", "2018-01-09 21:36:11.213507"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 82645741], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 82645741], ["created_at", "2018-01-09 21:36:11.228906"], ["updated_at", "2018-01-09 21:36:11.228906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 82645741], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 61285346], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 61285346], ["created_at", "2018-01-09 21:36:11.238020"], ["updated_at", "2018-01-09 21:36:11.238020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 65694661], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 65694661], ["created_at", "2018-01-09 21:36:11.244126"], ["updated_at", "2018-01-09 21:36:11.244126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91679914], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 91679914], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "66c4c55ed779d980488ec10b25236483"], ["created_at", "2018-01-09 21:36:11.248812"], ["updated_at", "2018-01-09 21:36:11.248812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 14355440], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 14355440], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "0ffdfc1430ac37618d3f2e6a40ce5844"], ["created_at", "2018-01-09 21:36:11.254330"], ["updated_at", "2018-01-09 21:36:11.254330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 14355440], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81558558], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81558558], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "25e496ac37b3027c24d25821e8eeb1d1"], ["created_at", "2018-01-09 21:36:11.269818"], ["updated_at", "2018-01-09 21:36:11.269818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41310561], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41310561], ["name", "Cool Term"], ["start_at", "2018-01-07 21:36:11.274887"], ["end_at", "2018-01-12 21:36:11.274963"], ["workflow_state", "active"], ["sis_id", "a93e6d7adb515792f5b02e6e907ed499"], ["created_at", "2018-01-09 21:36:11.276159"], ["updated_at", "2018-01-09 21:36:11.276159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66579732], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66579732], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "inactive"], ["sis_id", "8a8c28d46a0096e7a32064da7da44cde"], ["created_at", "2018-01-09 21:36:11.279094"], ["updated_at", "2018-01-09 21:36:11.279094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67889977], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67889977], ["name", "Cool Term"], ["start_at", "2017-11-09 21:36:11.280165"], ["end_at", "2017-12-09 21:36:11.280228"], ["workflow_state", "active"], ["sis_id", "ff9424f3a7fa3d6d6c745fc1d26d433a"], ["created_at", "2018-01-09 21:36:11.281235"], ["updated_at", "2018-01-09 21:36:11.281235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 86929878], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 86929878], ["name", "Cool Term"], ["start_at", "2018-07-09 21:36:11.282170"], ["end_at", "2019-01-09 21:36:11.282212"], ["workflow_state", "active"], ["sis_id", "6969ff3281a39a5f1296913cec9c47a7"], ["created_at", "2018-01-09 21:36:11.283460"], ["updated_at", "2018-01-09 21:36:11.283460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 21:36:11.284561' OR start_at IS NULL) AND (end_at >= '2017-12-25 21:36:11.284686' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 21:36:11.291557"], ["updated_at", "2018-01-09 21:36:11.291557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 21:36:09.879079"], ["end_at", "2018-01-12 21:36:09.879263"], ["workflow_state", "active"], ["sis_id", "fded8d6d29cf92746443459d4c917965"], ["created_at", "2018-01-09 21:36:11.297308"], ["updated_at", "2018-01-09 21:36:11.297308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 21:36:11.300248"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (1.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 62093030], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 62093030], ["sis_id", "76d34eb9bf8eb23a832593954c9077af"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:36:11.325993"], ["updated_at", "2018-01-09 21:36:11.325993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 96868939], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 96868939], ["sis_id", "4a43d72668102b25ac9c0098b933c4ef"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:36:11.334957"], ["updated_at", "2018-01-09 21:36:11.334957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 96868939], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 57807836], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 57807836], ["sis_id", "a140dc56002f70c07f4a45a871375fa1"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 21:36:11.345414"], ["updated_at", "2018-01-09 21:36:11.345414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:36:11.352051','2018-01-09 21:36:11.352051'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:36:11.352051','2018-01-09 21:36:11.352051') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:36:11.359144','2018-01-09 21:36:11.359144'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:36:11.359144','2018-01-09 21:36:11.359144') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 21:36:11.376066','2018-01-09 21:36:11.376066'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 21:36:11.376066','2018-01-09 21:36:11.376066') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:36:11.385998','2018-01-09 21:36:11.385998'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 21:36:11.385998','2018-01-09 21:36:11.385998') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 21:36:11.393263','2018-01-09 21:36:11.393263') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 21:36:11.401953','2018-01-09 21:36:11.401953'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 21:36:11.401953','2018-01-09 21:36:11.401953') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 21:36:11.403663','2018-01-09 21:36:11.403663'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 21:36:11.403663','2018-01-09 21:36:11.403663') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711] Performing GoodJob (Job ID: 4748e1de-831c-4329-b97d-f40873b77711) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711] SQL (9.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:14.972302"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:10:14.983479"], ["updated_at", "2018-01-09 22:10:14.983479"]] [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:14.994880"], ["status", "success"], ["updated_at", "2018-01-09 22:10:14.995268"], ["id", 53]] [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [4748e1de-831c-4329-b97d-f40873b77711] Performed GoodJob (Job ID: 4748e1de-831c-4329-b97d-f40873b77711) from Async(default) in 24.71ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb] Performing BadJob (Job ID: 3c9d4522-c60e-4d3b-8b86-2be7e647cadb) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.010736"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:10:15.011191"], ["updated_at", "2018-01-09 22:10:15.011191"]] [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:10:15.012809"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:10:15.013102"], ["id", 54]] [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3c9d4522-c60e-4d3b-8b86-2be7e647cadb] Error performing BadJob (Job ID: 3c9d4522-c60e-4d3b-8b86-2be7e647cadb) from Async(default) in 4.14ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1d168e55-c5b8-4cdc-b748-8c3462dc035d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.019694"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.020059"], ["updated_at", "2018-01-09 22:10:15.020059"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 55]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1d168e55-c5b8-4cdc-b748-8c3462dc035d] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1d168e55-c5b8-4cdc-b748-8c3462dc035d) from Async(default) in 11.36ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e] Performing CanvasSync::Jobs::ReportChecker (Job ID: c28d8910-d083-4cbc-be67-16a970c2178e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.035745"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.036237"], ["updated_at", "2018-01-09 22:10:15.036237"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 18cb561d-d669-47b7-9683-ecc15d331ca0) to Async(default) at 2018-01-09 22:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 56]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c28d8910-d083-4cbc-be67-16a970c2178e] Performed CanvasSync::Jobs::ReportChecker (Job ID: c28d8910-d083-4cbc-be67-16a970c2178e) from Async(default) in 8.47ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8] Performing CanvasSync::Jobs::ReportChecker (Job ID: 944806aa-a14f-43a9-95b3-112edf2d2ee8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.048522"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.048904"], ["updated_at", "2018-01-09 22:10:15.048904"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:10:15.051390"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:10:15.051659"], ["id", 57]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [944806aa-a14f-43a9-95b3-112edf2d2ee8] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 944806aa-a14f-43a9-95b3-112edf2d2ee8) from Async(default) in 5.23ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 14f08b78-82e9-4752-a5c7-789ec980a32d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.058892"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.059401"], ["updated_at", "2018-01-09 22:10:15.059401"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:10:15.061916"], ["id", 58]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.093597"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.094079"], ["id", 58]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [14f08b78-82e9-4752-a5c7-789ec980a32d] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 14f08b78-82e9-4752-a5c7-789ec980a32d) from Async(default) in 36.94ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0] Performing CanvasSync::Jobs::ReportStarter (Job ID: 0dfc29c6-5426-4180-b23f-f987375099c0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.105064"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:10:15.105618"], ["updated_at", "2018-01-09 22:10:15.105618"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c4aa64e3-0ebc-42bf-97bf-0a2c69dda6cc) to Async(default) at 2018-01-09 22:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.109057"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.109397"], ["id", 59]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dfc29c6-5426-4180-b23f-f987375099c0] Performed CanvasSync::Jobs::ReportStarter (Job ID: 0dfc29c6-5426-4180-b23f-f987375099c0) from Async(default) in 10.27ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.0ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 6bb31446-9e91-4e5b-a237-409e60cbd129) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.119359"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.119697"], ["updated_at", "2018-01-09 22:10:15.119697"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.135912"], ["updated_at", "2018-01-09 22:10:15.135912"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role", "Custom Account Role"], ["canvas_role_id", 11], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.139091"], ["updated_at", "2018-01-09 22:10:15.139091"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role", "Test"], ["canvas_role_id", 10], ["user", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.141590"], ["updated_at", "2018-01-09 22:10:15.141590"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.142668"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.142974"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6bb31446-9e91-4e5b-a237-409e60cbd129] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 6bb31446-9e91-4e5b-a237-409e60cbd129) from Async(default) in 25.01ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1208423], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1208423], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "0924df5bed0b28bb1978a0c9c3462257"], ["created_at", "2018-01-09 22:10:15.162226"], ["updated_at", "2018-01-09 22:10:15.162226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38879171], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38879171], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "f60ed8a4bcacdb2d117037da3acd960d"], ["created_at", "2018-01-09 22:10:15.165551"], ["updated_at", "2018-01-09 22:10:15.165551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7050068], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7050068], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "inactive"], ["sis_id", "34df6c8a89c8db4143e0afa641513ef5"], ["created_at", "2018-01-09 22:10:15.167656"], ["updated_at", "2018-01-09 22:10:15.167656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c499b54f-1301-44f1-9175-400e8693f24f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.169374"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:10:15.169759"], ["updated_at", "2018-01-09 22:10:15.169759"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f] Term Load (0.7ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:10:15.171851' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:10:15.172055' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.173824"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.174237"], ["id", 61]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c499b54f-1301-44f1-9175-400e8693f24f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c499b54f-1301-44f1-9175-400e8693f24f) from Async(default) in 6.54ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0317522b-4e18-405e-ae78-29f6302dc690) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.180392"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:10:15.180826"], ["updated_at", "2018-01-09 22:10:15.180826"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.182694"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.183020"], ["id", 62]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0317522b-4e18-405e-ae78-29f6302dc690] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0317522b-4e18-405e-ae78-29f6302dc690) from Async(default) in 4.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (25.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 35a7a56a-0765-40bb-9d76-20d6ff9b86c6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.217484"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.218001"], ["updated_at", "2018-01-09 22:10:15.218001"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:10:15.234663"], ["updated_at", "2018-01-09 22:10:15.234663"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:10:15.248084"], ["updated_at", "2018-01-09 22:10:15.248084"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.252004"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.252347"], ["id", 63]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [35a7a56a-0765-40bb-9d76-20d6ff9b86c6] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 35a7a56a-0765-40bb-9d76-20d6ff9b86c6) from Async(default) in 36.32ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 82e455f9-3e43-468e-b24c-6b2645213c21) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.259305"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.259784"], ["updated_at", "2018-01-09 22:10:15.259784"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:10:15.266969"], ["updated_at", "2018-01-09 22:10:15.266969"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.269441"], ["updated_at", "2018-01-09 22:10:15.269441"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.272084"], ["updated_at", "2018-01-09 22:10:15.272084"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:10:15.275505"], ["updated_at", "2018-01-09 22:10:15.275505"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:10:15.277886"], ["updated_at", "2018-01-09 22:10:15.277886"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.280397"], ["updated_at", "2018-01-09 22:10:15.280397"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.281316"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.281649"], ["id", 64]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [82e455f9-3e43-468e-b24c-6b2645213c21] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 82e455f9-3e43-468e-b24c-6b2645213c21) from Async(default) in 23.72ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: d9844a41-186e-49f9-b157-d94e7939a6b5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:10:15.287396"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:10:15.287806"], ["updated_at", "2018-01-09 22:10:15.287806"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7441a50e-6900-40a7-b724-6acd41270c65) to Async(default) at 2018-01-09 22:10:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:10:15.290508"], ["status", "success"], ["updated_at", "2018-01-09 22:10:15.290857"], ["id", 65]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d9844a41-186e-49f9-b157-d94e7939a6b5] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: d9844a41-186e-49f9-b157-d94e7939a6b5) from Async(default) in 4.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 75770745], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 75770745], ["role", "Cool Role"], ["canvas_role_id", 55555697], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.297369"], ["updated_at", "2018-01-09 22:10:15.297369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.5ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 26617734], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 26617734], ["role", "Cool Role"], ["canvas_role_id", 43798141], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.314729"], ["updated_at", "2018-01-09 22:10:15.314729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 26617734], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.324746"], ["updated_at", "2018-01-09 22:10:15.324746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role", "canvas_role_id", "user", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role", "Cool Role"], ["canvas_role_id", 50892256], ["user", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.330745"], ["updated_at", "2018-01-09 22:10:15.330745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 33], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role" = $1, "canvas_role_id" = $2, "user" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role", "AccountAdmin"], ["canvas_role_id", 1], ["user", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 22:10:15.334129"], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (4.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59489425], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 59489425], ["sis_id", "cee71d96967f76b2db6cf04a1859556d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:10:15.351519"], ["end_date", "2018-01-30 22:10:15.351629"], ["created_at", "2018-01-09 22:10:15.357654"], ["updated_at", "2018-01-09 22:10:15.357654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37286907], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37286907], ["sis_id", "a6f2cc09f4f1e3aef60e176756f984f1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:10:15.364412"], ["end_date", "2018-01-30 22:10:15.364509"], ["created_at", "2018-01-09 22:10:15.365522"], ["updated_at", "2018-01-09 22:10:15.365522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37286907], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1334704], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1334704], ["sis_id", "9c5ddd0e854307dff99eb91a6c6b8f2f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:10:15.372772"], ["end_date", "2018-01-30 22:10:15.372881"], ["created_at", "2018-01-09 22:10:15.373924"], ["updated_at", "2018-01-09 22:10:15.373924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37610382], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37610382], ["sis_id", "a05dd159a4748044165857492d08db95"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:10:15.378896"], ["end_date", "2018-01-30 22:10:15.379011"], ["created_at", "2018-01-09 22:10:15.380189"], ["updated_at", "2018-01-09 22:10:15.380189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 5343533], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 5343533], ["sis_id", "e81f8a4e5002eb83079bcb2d2164e3d8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:10:15.385289"], ["end_date", "2018-01-30 22:10:15.385418"], ["created_at", "2018-01-09 22:10:15.386715"], ["updated_at", "2018-01-09 22:10:15.386715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (4.0ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 39809297], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 39809297], ["created_at", "2018-01-09 22:10:15.411176"], ["updated_at", "2018-01-09 22:10:15.411176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 29729647], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 29729647], ["created_at", "2018-01-09 22:10:15.420052"], ["updated_at", "2018-01-09 22:10:15.420052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 29729647], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80853833], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 80853833], ["created_at", "2018-01-09 22:10:15.426838"], ["updated_at", "2018-01-09 22:10:15.426838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 63285719], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 63285719], ["created_at", "2018-01-09 22:10:15.431139"], ["updated_at", "2018-01-09 22:10:15.431139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 96334294], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 96334294], ["created_at", "2018-01-09 22:10:15.435853"], ["updated_at", "2018-01-09 22:10:15.435853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 21457276], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 21457276], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.441615"], ["updated_at", "2018-01-09 22:10:15.441615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 86949030], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 86949030], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.447965"], ["updated_at", "2018-01-09 22:10:15.447965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 86949030], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:10:15.460590"], ["updated_at", "2018-01-09 22:10:15.460590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:10:15.471911"], ["updated_at", "2018-01-09 22:10:15.471911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 30], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:10:15.476868"], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (5.9ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 8002397], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 8002397], ["created_at", "2018-01-09 22:10:15.507540"], ["updated_at", "2018-01-09 22:10:15.507540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18568050], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 18568050], ["created_at", "2018-01-09 22:10:15.514997"], ["updated_at", "2018-01-09 22:10:15.514997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18568050], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 40504302], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 40504302], ["created_at", "2018-01-09 22:10:15.523783"], ["updated_at", "2018-01-09 22:10:15.523783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 99010173], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 99010173], ["created_at", "2018-01-09 22:10:15.529730"], ["updated_at", "2018-01-09 22:10:15.529730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25128903], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25128903], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "c86690fa27330962c121a7b04955413a"], ["created_at", "2018-01-09 22:10:15.536842"], ["updated_at", "2018-01-09 22:10:15.536842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89498130], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89498130], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "aebb2a9c5b9f4a5b809b045538055b2c"], ["created_at", "2018-01-09 22:10:15.543792"], ["updated_at", "2018-01-09 22:10:15.543792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89498130], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40423039], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40423039], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "4b7ecedd28d9373625183d0cd557d805"], ["created_at", "2018-01-09 22:10:15.551281"], ["updated_at", "2018-01-09 22:10:15.551281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38555522], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38555522], ["name", "Cool Term"], ["start_at", "2018-01-07 22:10:15.556369"], ["end_at", "2018-01-12 22:10:15.556458"], ["workflow_state", "active"], ["sis_id", "260b3cb0beaeecc23ed8edb37827e923"], ["created_at", "2018-01-09 22:10:15.557891"], ["updated_at", "2018-01-09 22:10:15.557891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38068743], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38068743], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "inactive"], ["sis_id", "8d550bf04ef145d77d6f08ae70283084"], ["created_at", "2018-01-09 22:10:15.560028"], ["updated_at", "2018-01-09 22:10:15.560028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23576365], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 23576365], ["name", "Cool Term"], ["start_at", "2017-11-09 22:10:15.560976"], ["end_at", "2017-12-09 22:10:15.561045"], ["workflow_state", "active"], ["sis_id", "3ed76295cc80f7e231cb05b527fba295"], ["created_at", "2018-01-09 22:10:15.562135"], ["updated_at", "2018-01-09 22:10:15.562135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60223085], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60223085], ["name", "Cool Term"], ["start_at", "2018-07-09 22:10:15.563123"], ["end_at", "2019-01-09 22:10:15.563177"], ["workflow_state", "active"], ["sis_id", "334c1696b4f2e326a5a82bd85f4e1a90"], ["created_at", "2018-01-09 22:10:15.564177"], ["updated_at", "2018-01-09 22:10:15.564177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:10:15.565271' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:10:15.565396' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:10:15.572019"], ["updated_at", "2018-01-09 22:10:15.572019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:10:13.215822"], ["end_at", "2018-01-12 22:10:13.216010"], ["workflow_state", "active"], ["sis_id", "0efe1f32f97e60dc2e6d1096a3da7283"], ["created_at", "2018-01-09 22:10:15.579002"], ["updated_at", "2018-01-09 22:10:15.579002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:10:15.582081"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (3.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 49101091], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 49101091], ["sis_id", "0d33bc7e3c5052f0c468e07a2f8c430f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:10:15.601577"], ["updated_at", "2018-01-09 22:10:15.601577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2637203], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 2637203], ["sis_id", "ba1c6d892829ebb5337591cc8c95a7b0"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:10:15.609473"], ["updated_at", "2018-01-09 22:10:15.609473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2637203], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 84425109], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 84425109], ["sis_id", "f191b61e4eae3a8654bd7e5eba891baa"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:10:15.617936"], ["updated_at", "2018-01-09 22:10:15.617936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:10:15.626437','2018-01-09 22:10:15.626437'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:10:15.626437','2018-01-09 22:10:15.626437') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:10:15.633523','2018-01-09 22:10:15.633523'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:10:15.633523','2018-01-09 22:10:15.633523') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:10:15.644398','2018-01-09 22:10:15.644398'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:10:15.644398','2018-01-09 22:10:15.644398') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:10:15.652236','2018-01-09 22:10:15.652236'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:10:15.652236','2018-01-09 22:10:15.652236') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:10:15.661749','2018-01-09 22:10:15.661749') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:10:15.673353','2018-01-09 22:10:15.673353'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:10:15.673353','2018-01-09 22:10:15.673353') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:10:15.675373','2018-01-09 22:10:15.675373'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:10:15.675373','2018-01-09 22:10:15.675373') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (13.5ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b] Performing GoodJob (Job ID: 0e9012bd-a131-402e-b054-ff6256d8fd1b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b] SQL (0.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.879788"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:31:45.891195"], ["updated_at", "2018-01-09 22:31:45.891195"]] [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b] SQL (5.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:45.893611"], ["status", "success"], ["updated_at", "2018-01-09 22:31:45.893874"], ["id", 66]] [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0e9012bd-a131-402e-b054-ff6256d8fd1b] Performed GoodJob (Job ID: 0e9012bd-a131-402e-b054-ff6256d8fd1b) from Async(default) in 23.52ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d] Performing BadJob (Job ID: 2e742bb2-1bde-4da2-9ca8-c62cb358e64d) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.910374"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:31:45.910767"], ["updated_at", "2018-01-09 22:31:45.910767"]] [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:31:45.912329"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:31:45.912590"], ["id", 67]] [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [2e742bb2-1bde-4da2-9ca8-c62cb358e64d] Error performing BadJob (Job ID: 2e742bb2-1bde-4da2-9ca8-c62cb358e64d) from Async(default) in 5.54ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5] Performing CanvasSync::Jobs::ReportChecker (Job ID: 94b5cc71-97ee-42ad-81b4-92b9c41e12c5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.919743"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:45.920086"], ["updated_at", "2018-01-09 22:31:45.920086"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5]  (0.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 68]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [94b5cc71-97ee-42ad-81b4-92b9c41e12c5] Performed CanvasSync::Jobs::ReportChecker (Job ID: 94b5cc71-97ee-42ad-81b4-92b9c41e12c5) from Async(default) in 13.35ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3] Performing CanvasSync::Jobs::ReportChecker (Job ID: c62b95be-74ec-450a-a8ff-0be1426019d3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.936149"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:45.936514"], ["updated_at", "2018-01-09 22:31:45.936514"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 69d1da53-6db2-4df5-b42f-251b9473763f) to Async(default) at 2018-01-09 22:32:15 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 69]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c62b95be-74ec-450a-a8ff-0be1426019d3] Performed CanvasSync::Jobs::ReportChecker (Job ID: c62b95be-74ec-450a-a8ff-0be1426019d3) from Async(default) in 5.26ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5] Performing CanvasSync::Jobs::ReportChecker (Job ID: 6f325a1d-16b2-4bfa-a03d-71ec134c4ff5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.945055"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:45.945423"], ["updated_at", "2018-01-09 22:31:45.945423"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5] SQL (1.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:31:45.947769"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:31:45.948025"], ["id", 70]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6f325a1d-16b2-4bfa-a03d-71ec134c4ff5] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 6f325a1d-16b2-4bfa-a03d-71ec134c4ff5) from Async(default) in 13.08ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: d2ef0a56-f380-410e-8227-cfca775e434b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:45.962926"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:45.963328"], ["updated_at", "2018-01-09 22:31:45.963328"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:31:45.965625"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.005722"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.006260"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [d2ef0a56-f380-410e-8227-cfca775e434b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: d2ef0a56-f380-410e-8227-cfca775e434b) from Async(default) in 45.11ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5] Performing CanvasSync::Jobs::ReportStarter (Job ID: aa36c95f-f808-43d1-a6f8-53e0512159b5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.011878"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:31:46.012259"], ["updated_at", "2018-01-09 22:31:46.012259"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dc2c09de-1629-4ef3-a8c4-e1c01406a049) to Async(default) at 2018-01-09 22:32:16 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.016269"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.016605"], ["id", 72]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aa36c95f-f808-43d1-a6f8-53e0512159b5] Performed CanvasSync::Jobs::ReportStarter (Job ID: aa36c95f-f808-43d1-a6f8-53e0512159b5) from Async(default) in 6.07ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (19.3ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: d8051659-c512-4cf1-9d7f-dc514328c959) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.043310"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:46.043890"], ["updated_at", "2018-01-09 22:31:46.043890"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959] SQL (14.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:31:46.075307"], ["exception", "ActiveRecord::AssociationTypeMismatch: Role(#70188973700140) expected, got \"AccountAdmin\" which is an instance of String(#70188980928060)"], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role='\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:31:46.075807"], ["id", 73]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [d8051659-c512-4cf1-9d7f-dc514328c959] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: d8051659-c512-4cf1-9d7f-dc514328c959) from Async(default) in 49.27ms: ActiveRecord::AssociationTypeMismatch (Role(#70188973700140) expected, got "AccountAdmin" which is an instance of String(#70188980928060)): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role=' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (25.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72240568], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72240568], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "5bd603caebcc8cda9b4e3b55b9917635"], ["created_at", "2018-01-09 22:31:46.136964"], ["updated_at", "2018-01-09 22:31:46.136964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37669616], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37669616], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "38c12c623e8a56412736e0df274f15f6"], ["created_at", "2018-01-09 22:31:46.140252"], ["updated_at", "2018-01-09 22:31:46.140252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78258029], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 78258029], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "inactive"], ["sis_id", "4b10b0b23d47d37078c39710fb2512e6"], ["created_at", "2018-01-09 22:31:46.142542"], ["updated_at", "2018-01-09 22:31:46.142542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 46796634-0549-45b9-99de-4acfeec8be6e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.144057"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:31:46.144418"], ["updated_at", "2018-01-09 22:31:46.144418"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:31:46.146505' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:31:46.146678' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.149090"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.149507"], ["id", 74]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [46796634-0549-45b9-99de-4acfeec8be6e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 46796634-0549-45b9-99de-4acfeec8be6e) from Async(default) in 6.89ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5c1d68d8-2c8d-476f-b056-16771b418129) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.154363"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:31:46.154677"], ["updated_at", "2018-01-09 22:31:46.154677"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.156409"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.156665"], ["id", 75]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5c1d68d8-2c8d-476f-b056-16771b418129] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5c1d68d8-2c8d-476f-b056-16771b418129) from Async(default) in 3.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 913de14d-4177-4c89-ba07-1c39dfcb64c0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.176846"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:46.177369"], ["updated_at", "2018-01-09 22:31:46.177369"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:31:46.203454"], ["updated_at", "2018-01-09 22:31:46.203454"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:31:46.214003"], ["updated_at", "2018-01-09 22:31:46.214003"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.220796"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.221098"], ["id", 76]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [913de14d-4177-4c89-ba07-1c39dfcb64c0] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 913de14d-4177-4c89-ba07-1c39dfcb64c0) from Async(default) in 45.65ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 4ce81121-cda3-4d66-a762-e35241f65362) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.227580"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:46.227993"], ["updated_at", "2018-01-09 22:31:46.227993"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:31:46.234801"], ["updated_at", "2018-01-09 22:31:46.234801"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.237820"], ["updated_at", "2018-01-09 22:31:46.237820"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.240924"], ["updated_at", "2018-01-09 22:31:46.240924"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:31:46.243910"], ["updated_at", "2018-01-09 22:31:46.243910"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:31:46.246314"], ["updated_at", "2018-01-09 22:31:46.246314"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.248653"], ["updated_at", "2018-01-09 22:31:46.248653"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.249686"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.250163"], ["id", 77]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4ce81121-cda3-4d66-a762-e35241f65362] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 4ce81121-cda3-4d66-a762-e35241f65362) from Async(default) in 24.38ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: b4f6ec05-6080-4898-8e84-e48f369314e6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:31:46.257370"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:31:46.257894"], ["updated_at", "2018-01-09 22:31:46.257894"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a30676da-b76a-4c61-828b-78ea1ca0b829) to Async(default) at 2018-01-09 22:32:16 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:31:46.269218"], ["status", "success"], ["updated_at", "2018-01-09 22:31:46.269587"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b4f6ec05-6080-4898-8e84-e48f369314e6] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: b4f6ec05-6080-4898-8e84-e48f369314e6) from Async(default) in 13.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (4.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 71538332], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 71538332], ["sis_id", "c01396af36b4b149cbb76b1369e0180f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:31:46.299098"], ["end_date", "2018-01-30 22:31:46.299227"], ["created_at", "2018-01-09 22:31:46.304736"], ["updated_at", "2018-01-09 22:31:46.304736"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98595292], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 98595292], ["sis_id", "b619b840534cd847b38d1bbae9fece6f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:31:46.323809"], ["end_date", "2018-01-30 22:31:46.323926"], ["created_at", "2018-01-09 22:31:46.324904"], ["updated_at", "2018-01-09 22:31:46.324904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98595292], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60364656], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60364656], ["sis_id", "8c00c726e009ea1d969aa68130f1db77"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:31:46.332078"], ["end_date", "2018-01-30 22:31:46.332168"], ["created_at", "2018-01-09 22:31:46.333024"], ["updated_at", "2018-01-09 22:31:46.333024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88443141], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 88443141], ["sis_id", "c95631170b77f78c3ffc7ae2c11202d1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:31:46.336990"], ["end_date", "2018-01-30 22:31:46.337078"], ["created_at", "2018-01-09 22:31:46.337989"], ["updated_at", "2018-01-09 22:31:46.337989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 56389240], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 56389240], ["sis_id", "7081890165c9cbc8590faf9750fa93a7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:31:46.342366"], ["end_date", "2018-01-30 22:31:46.342462"], ["created_at", "2018-01-09 22:31:46.343309"], ["updated_at", "2018-01-09 22:31:46.343309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 2699674], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 2699674], ["created_at", "2018-01-09 22:31:46.372878"], ["updated_at", "2018-01-09 22:31:46.372878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45392025], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 45392025], ["created_at", "2018-01-09 22:31:46.381014"], ["updated_at", "2018-01-09 22:31:46.381014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45392025], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 6168609], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 6168609], ["created_at", "2018-01-09 22:31:46.387070"], ["updated_at", "2018-01-09 22:31:46.387070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 97484334], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 97484334], ["created_at", "2018-01-09 22:31:46.391662"], ["updated_at", "2018-01-09 22:31:46.391662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 64968456], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 64968456], ["created_at", "2018-01-09 22:31:46.395780"], ["updated_at", "2018-01-09 22:31:46.395780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 46014213], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 46014213], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.402593"], ["updated_at", "2018-01-09 22:31:46.402593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3686232], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 3686232], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.408310"], ["updated_at", "2018-01-09 22:31:46.408310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (2.0ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3686232], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:31:46.432237"], ["updated_at", "2018-01-09 22:31:46.432237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:31:46.444170"], ["updated_at", "2018-01-09 22:31:46.444170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:31:46.449256"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (5.6ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 22902847], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 22902847], ["created_at", "2018-01-09 22:31:46.484845"], ["updated_at", "2018-01-09 22:31:46.484845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 45785648], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 45785648], ["created_at", "2018-01-09 22:31:46.492453"], ["updated_at", "2018-01-09 22:31:46.492453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 45785648], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 77711202], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 77711202], ["created_at", "2018-01-09 22:31:46.499237"], ["updated_at", "2018-01-09 22:31:46.499237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 70529510], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 70529510], ["created_at", "2018-01-09 22:31:46.503404"], ["updated_at", "2018-01-09 22:31:46.503404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96066569], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 96066569], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "f0ee2410f0a04b5238fb94d77670b8b8"], ["created_at", "2018-01-09 22:31:46.508662"], ["updated_at", "2018-01-09 22:31:46.508662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 100], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90089269], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 90089269], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "89c6315d3f5cc6a45f0be3a80577b271"], ["created_at", "2018-01-09 22:31:46.515462"], ["updated_at", "2018-01-09 22:31:46.515462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90089269], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45401444], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45401444], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "84a132271669b0967faab029b73b5707"], ["created_at", "2018-01-09 22:31:46.530356"], ["updated_at", "2018-01-09 22:31:46.530356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61616084], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61616084], ["name", "Cool Term"], ["start_at", "2018-01-07 22:31:46.535922"], ["end_at", "2018-01-12 22:31:46.536000"], ["workflow_state", "active"], ["sis_id", "a83aa493f4c8061af29808fbcd0a2182"], ["created_at", "2018-01-09 22:31:46.537296"], ["updated_at", "2018-01-09 22:31:46.537296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93572210], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93572210], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "inactive"], ["sis_id", "b9748d9d98d0ec43ec29bfd6d008ca0c"], ["created_at", "2018-01-09 22:31:46.539773"], ["updated_at", "2018-01-09 22:31:46.539773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 56317047], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 56317047], ["name", "Cool Term"], ["start_at", "2017-11-09 22:31:46.542921"], ["end_at", "2017-12-09 22:31:46.542998"], ["workflow_state", "active"], ["sis_id", "7c74e3da3c940be8cb316e0a5bfe4baa"], ["created_at", "2018-01-09 22:31:46.544116"], ["updated_at", "2018-01-09 22:31:46.544116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65128366], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65128366], ["name", "Cool Term"], ["start_at", "2018-07-09 22:31:46.545164"], ["end_at", "2019-01-09 22:31:46.545242"], ["workflow_state", "active"], ["sis_id", "6517e92eaea3cd15eaf6518464c834f1"], ["created_at", "2018-01-09 22:31:46.546554"], ["updated_at", "2018-01-09 22:31:46.546554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:31:46.547643' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:31:46.547758' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:31:46.553328"], ["updated_at", "2018-01-09 22:31:46.553328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:31:44.960053"], ["end_at", "2018-01-12 22:31:44.960228"], ["workflow_state", "active"], ["sis_id", "91f6c882560b86b8a360b973450daec0"], ["created_at", "2018-01-09 22:31:46.562066"], ["updated_at", "2018-01-09 22:31:46.562066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 108], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:31:46.565227"], ["id", 108]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (1.8ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (4.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 35402716], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 35402716], ["sis_id", "0d1b8ea015a237810d90ac847adb162e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:31:46.593866"], ["updated_at", "2018-01-09 22:31:46.593866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 37400614], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 37400614], ["sis_id", "91bed0db763e44b83957981f125e923f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:31:46.600898"], ["updated_at", "2018-01-09 22:31:46.600898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 37400614], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 439222], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 439222], ["sis_id", "4f198032d21a247f074f2ee5cf31ebf5"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:31:46.607594"], ["updated_at", "2018-01-09 22:31:46.607594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:31:46.621522','2018-01-09 22:31:46.621522'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:31:46.621522','2018-01-09 22:31:46.621522') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:31:46.628151','2018-01-09 22:31:46.628151'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:31:46.628151','2018-01-09 22:31:46.628151') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:31:46.636032','2018-01-09 22:31:46.636032'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:31:46.636032','2018-01-09 22:31:46.636032') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:31:46.642943','2018-01-09 22:31:46.642943'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:31:46.642943','2018-01-09 22:31:46.642943') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:31:46.648921','2018-01-09 22:31:46.648921') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:31:46.658528','2018-01-09 22:31:46.658528'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:31:46.658528','2018-01-09 22:31:46.658528') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:31:46.660531','2018-01-09 22:31:46.660531'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:31:46.660531','2018-01-09 22:31:46.660531') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b] Performing GoodJob (Job ID: 45a9c33e-68ec-40fe-8fb8-be8d186e971b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b]  (1.5ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b] SQL (1.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.063906"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:40:27.081178"], ["updated_at", "2018-01-09 22:40:27.081178"]] [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.084493"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.084861"], ["id", 79]] [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [45a9c33e-68ec-40fe-8fb8-be8d186e971b] Performed GoodJob (Job ID: 45a9c33e-68ec-40fe-8fb8-be8d186e971b) from Async(default) in 22.55ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7] Performing BadJob (Job ID: ffd774b1-eff7-49f3-b5d4-1a41776280a7) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.092826"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:40:27.093180"], ["updated_at", "2018-01-09 22:40:27.093180"]] [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:40:27.095799"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:40:27.096070"], ["id", 80]] [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ffd774b1-eff7-49f3-b5d4-1a41776280a7] Error performing BadJob (Job ID: ffd774b1-eff7-49f3-b5d4-1a41776280a7) from Async(default) in 4.96ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c] Performing CanvasSync::Jobs::ReportChecker (Job ID: 80254e3c-64ad-4c6e-afbe-fdd02b50376c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.101574"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.101904"], ["updated_at", "2018-01-09 22:40:27.101904"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 81]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [80254e3c-64ad-4c6e-afbe-fdd02b50376c] Performed CanvasSync::Jobs::ReportChecker (Job ID: 80254e3c-64ad-4c6e-afbe-fdd02b50376c) from Async(default) in 7.93ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2] Performing CanvasSync::Jobs::ReportChecker (Job ID: 72832518-fac3-4805-96ec-89f2530eaed2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.112812"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.113206"], ["updated_at", "2018-01-09 22:40:27.113206"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 696c89ff-5d2d-4fc4-9023-33306c50e6dd) to Async(default) at 2018-01-09 22:40:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 82]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [72832518-fac3-4805-96ec-89f2530eaed2] Performed CanvasSync::Jobs::ReportChecker (Job ID: 72832518-fac3-4805-96ec-89f2530eaed2) from Async(default) in 5.34ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848] Performing CanvasSync::Jobs::ReportChecker (Job ID: 99464a21-8e5d-465d-81f0-c6e5a697d848) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.121357"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.121738"], ["updated_at", "2018-01-09 22:40:27.121738"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:40:27.124263"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:40:27.124544"], ["id", 83]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [99464a21-8e5d-465d-81f0-c6e5a697d848] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 99464a21-8e5d-465d-81f0-c6e5a697d848) from Async(default) in 5.17ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (1.6ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 51da4a3d-5746-4440-a0e4-941f8cd2cf21) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.136157"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.136681"], ["updated_at", "2018-01-09 22:40:27.136681"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:40:27.139048"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.162810"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.163188"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [51da4a3d-5746-4440-a0e4-941f8cd2cf21] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 51da4a3d-5746-4440-a0e4-941f8cd2cf21) from Async(default) in 28.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 4e184d51-9fe5-4f3d-a3f2-9b0325bc323a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.168009"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:40:27.168340"], ["updated_at", "2018-01-09 22:40:27.168340"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d9423612-65b2-4f62-bb8c-f9dcee679107) to Async(default) at 2018-01-09 22:40:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.170951"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.171298"], ["id", 85]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4e184d51-9fe5-4f3d-a3f2-9b0325bc323a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 4e184d51-9fe5-4f3d-a3f2-9b0325bc323a) from Async(default) in 4.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (14.5ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: c156b171-a10e-4ec1-a23a-579779bcbb85) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.194782"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.195514"], ["updated_at", "2018-01-09 22:40:27.195514"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85] Admin Load (1.9ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85]  (1.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85] SQL (6.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:40:27.217992"], ["exception", "ActiveRecord::AssociationTypeMismatch: Role(#70321107539580) expected, got \"AccountAdmin\" which is an instance of String(#70321063755340)"], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role='\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:40:27.219451"], ["id", 86]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c156b171-a10e-4ec1-a23a-579779bcbb85] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: c156b171-a10e-4ec1-a23a-579779bcbb85) from Async(default) in 33.32ms: ActiveRecord::AssociationTypeMismatch (Role(#70321107539580) expected, got "AccountAdmin" which is an instance of String(#70321063755340)): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role=' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (15.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89839524], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89839524], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "56182b26f7641f323517d6436b1d72b7"], ["created_at", "2018-01-09 22:40:27.271887"], ["updated_at", "2018-01-09 22:40:27.271887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 64593982], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 64593982], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "c9184f5603de3fe22928f67b73140550"], ["created_at", "2018-01-09 22:40:27.275445"], ["updated_at", "2018-01-09 22:40:27.275445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 643248], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 643248], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "inactive"], ["sis_id", "ac8c4b6ef8b9fcc4f02b2b2c80f9f34d"], ["created_at", "2018-01-09 22:40:27.277699"], ["updated_at", "2018-01-09 22:40:27.277699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 591aeeb5-f67e-4059-ad12-6b518a154fbb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.279174"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:40:27.279586"], ["updated_at", "2018-01-09 22:40:27.279586"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:40:27.281693' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:40:27.281869' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.284342"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.284730"], ["id", 87]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [591aeeb5-f67e-4059-ad12-6b518a154fbb] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 591aeeb5-f67e-4059-ad12-6b518a154fbb) from Async(default) in 6.99ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.290221"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:40:27.290629"], ["updated_at", "2018-01-09 22:40:27.290629"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.292415"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.292687"], ["id", 88]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2a2b4cc6-b587-4eee-b4ae-da5a4080c8ec) from Async(default) in 3.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (20.6ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: bd3e9681-f62d-4b14-a1e8-adfe428f7ed0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.320379"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.320955"], ["updated_at", "2018-01-09 22:40:27.320955"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:40:27.348731"], ["updated_at", "2018-01-09 22:40:27.348731"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:40:27.356623"], ["updated_at", "2018-01-09 22:40:27.356623"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.360401"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.360679"], ["id", 89]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bd3e9681-f62d-4b14-a1e8-adfe428f7ed0] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: bd3e9681-f62d-4b14-a1e8-adfe428f7ed0) from Async(default) in 41.7ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 89b151bd-1ed6-4569-ae7c-c52512dc1412) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.366810"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.367181"], ["updated_at", "2018-01-09 22:40:27.367181"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:40:27.374335"], ["updated_at", "2018-01-09 22:40:27.374335"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.377809"], ["updated_at", "2018-01-09 22:40:27.377809"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.380655"], ["updated_at", "2018-01-09 22:40:27.380655"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:40:27.383790"], ["updated_at", "2018-01-09 22:40:27.383790"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:40:27.386546"], ["updated_at", "2018-01-09 22:40:27.386546"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.389001"], ["updated_at", "2018-01-09 22:40:27.389001"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.389941"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.390210"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [89b151bd-1ed6-4569-ae7c-c52512dc1412] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 89b151bd-1ed6-4569-ae7c-c52512dc1412) from Async(default) in 24.7ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 98c10ef4-a0b4-4937-a824-69ad4726d79c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:40:27.396052"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:40:27.396452"], ["updated_at", "2018-01-09 22:40:27.396452"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: cb0cbfe1-36a4-41a6-b1e8-01c2073aa6a5) to Async(default) at 2018-01-09 22:40:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:40:27.407332"], ["status", "success"], ["updated_at", "2018-01-09 22:40:27.407725"], ["id", 91]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [98c10ef4-a0b4-4937-a824-69ad4726d79c] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 98c10ef4-a0b4-4937-a824-69ad4726d79c) from Async(default) in 13.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44838286], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 44838286], ["sis_id", "d422b1920cce878ee49aa1fc0c474249"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:40:27.436481"], ["end_date", "2018-01-30 22:40:27.436593"], ["created_at", "2018-01-09 22:40:27.440002"], ["updated_at", "2018-01-09 22:40:27.440002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29296141], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 29296141], ["sis_id", "2e4c4b630a4ee31e92b95449b79f5973"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:40:27.458054"], ["end_date", "2018-01-30 22:40:27.458158"], ["created_at", "2018-01-09 22:40:27.459376"], ["updated_at", "2018-01-09 22:40:27.459376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29296141], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 87240726], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 87240726], ["sis_id", "89f9c71fb62416311533913e7f296d14"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:40:27.467876"], ["end_date", "2018-01-30 22:40:27.467982"], ["created_at", "2018-01-09 22:40:27.468926"], ["updated_at", "2018-01-09 22:40:27.468926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 40421922], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 40421922], ["sis_id", "8c6dbd806594b18514fa11ae23b82591"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:40:27.473045"], ["end_date", "2018-01-30 22:40:27.473145"], ["created_at", "2018-01-09 22:40:27.474193"], ["updated_at", "2018-01-09 22:40:27.474193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 61573094], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 61573094], ["sis_id", "61a90a837db4145fa6f26cda9e0914c8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:40:27.477934"], ["end_date", "2018-01-30 22:40:27.478000"], ["created_at", "2018-01-09 22:40:27.478796"], ["updated_at", "2018-01-09 22:40:27.478796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (6.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 24345339], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 24345339], ["created_at", "2018-01-09 22:40:27.501184"], ["updated_at", "2018-01-09 22:40:27.501184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80899836], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 80899836], ["created_at", "2018-01-09 22:40:27.516768"], ["updated_at", "2018-01-09 22:40:27.516768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80899836], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 59949557], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 59949557], ["created_at", "2018-01-09 22:40:27.524556"], ["updated_at", "2018-01-09 22:40:27.524556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 96491292], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 96491292], ["created_at", "2018-01-09 22:40:27.528821"], ["updated_at", "2018-01-09 22:40:27.528821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 34537599], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 34537599], ["created_at", "2018-01-09 22:40:27.533495"], ["updated_at", "2018-01-09 22:40:27.533495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 84740287], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 84740287], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.541159"], ["updated_at", "2018-01-09 22:40:27.541159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 58901554], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 58901554], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.546434"], ["updated_at", "2018-01-09 22:40:27.546434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 58901554], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:40:27.565861"], ["updated_at", "2018-01-09 22:40:27.565861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:40:27.578612"], ["updated_at", "2018-01-09 22:40:27.578612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 42], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:40:27.583734"], ["id", 42]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (5.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 70054291], ["LIMIT", 1]] SQL (4.0ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 70054291], ["created_at", "2018-01-09 22:40:27.607725"], ["updated_at", "2018-01-09 22:40:27.607725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 8961095], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 8961095], ["created_at", "2018-01-09 22:40:27.623731"], ["updated_at", "2018-01-09 22:40:27.623731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 8961095], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 98379078], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 98379078], ["created_at", "2018-01-09 22:40:27.631444"], ["updated_at", "2018-01-09 22:40:27.631444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 57997103], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 57997103], ["created_at", "2018-01-09 22:40:27.636415"], ["updated_at", "2018-01-09 22:40:27.636415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34152168], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34152168], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "6bcf95fa1ff1112316689f6a57f3aef6"], ["created_at", "2018-01-09 22:40:27.641163"], ["updated_at", "2018-01-09 22:40:27.641163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 118], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24925178], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 24925178], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "dd2d55ecaf450b43500108562e50260a"], ["created_at", "2018-01-09 22:40:27.646590"], ["updated_at", "2018-01-09 22:40:27.646590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24925178], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67462570], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67462570], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "61947d23ce6b1f04c8864e2606718966"], ["created_at", "2018-01-09 22:40:27.654658"], ["updated_at", "2018-01-09 22:40:27.654658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87298028], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 87298028], ["name", "Cool Term"], ["start_at", "2018-01-07 22:40:27.659437"], ["end_at", "2018-01-12 22:40:27.659513"], ["workflow_state", "active"], ["sis_id", "8d8f6219189c005aa5d71fededc3ebb6"], ["created_at", "2018-01-09 22:40:27.660913"], ["updated_at", "2018-01-09 22:40:27.660913"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45232778], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45232778], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "inactive"], ["sis_id", "22a96167466684c72342942966867859"], ["created_at", "2018-01-09 22:40:27.670456"], ["updated_at", "2018-01-09 22:40:27.670456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87034247], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 87034247], ["name", "Cool Term"], ["start_at", "2017-11-09 22:40:27.671684"], ["end_at", "2017-12-09 22:40:27.671815"], ["workflow_state", "active"], ["sis_id", "bbacf4afe8d2c75d21642e2e4d3679d6"], ["created_at", "2018-01-09 22:40:27.673141"], ["updated_at", "2018-01-09 22:40:27.673141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49768637], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49768637], ["name", "Cool Term"], ["start_at", "2018-07-09 22:40:27.674279"], ["end_at", "2019-01-09 22:40:27.674334"], ["workflow_state", "active"], ["sis_id", "1b07ecd2e19e02f344148550beb50387"], ["created_at", "2018-01-09 22:40:27.675604"], ["updated_at", "2018-01-09 22:40:27.675604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:40:27.676718' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:40:27.676883' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:40:27.684728"], ["updated_at", "2018-01-09 22:40:27.684728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:40:26.121768"], ["end_at", "2018-01-12 22:40:26.121962"], ["workflow_state", "active"], ["sis_id", "1424e639adf0134a511ac20f2d2385ad"], ["created_at", "2018-01-09 22:40:27.690244"], ["updated_at", "2018-01-09 22:40:27.690244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 126], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:40:27.693048"], ["id", 126]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 126], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (9.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 80359790], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 80359790], ["sis_id", "fb9c788fa1ff52dc0b5bc1491326fb59"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:40:27.722511"], ["updated_at", "2018-01-09 22:40:27.722511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 70263127], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 70263127], ["sis_id", "d3e684e74f08bd3c3c3140e852f99172"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:40:27.730420"], ["updated_at", "2018-01-09 22:40:27.730420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 70263127], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26929729], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 26929729], ["sis_id", "0b9d3fa0a4c121bcd43574e142f1c22f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:40:27.738284"], ["updated_at", "2018-01-09 22:40:27.738284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:40:27.745978','2018-01-09 22:40:27.745978'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:40:27.745978','2018-01-09 22:40:27.745978') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:40:27.752083','2018-01-09 22:40:27.752083'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:40:27.752083','2018-01-09 22:40:27.752083') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:40:27.759120','2018-01-09 22:40:27.759120'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:40:27.759120','2018-01-09 22:40:27.759120') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:40:27.766362','2018-01-09 22:40:27.766362'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:40:27.766362','2018-01-09 22:40:27.766362') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (4.5ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:40:27.782684','2018-01-09 22:40:27.782684') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:40:27.794715','2018-01-09 22:40:27.794715'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:40:27.794715','2018-01-09 22:40:27.794715') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:40:27.796531','2018-01-09 22:40:27.796531'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:40:27.796531','2018-01-09 22:40:27.796531') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c] Performing GoodJob (Job ID: b206e7f7-596b-49da-8b86-9ab7cc96eb0c) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.491625"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:41:16.501912"], ["updated_at", "2018-01-09 22:41:16.501912"]] [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.504274"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.504822"], ["id", 92]] [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b206e7f7-596b-49da-8b86-9ab7cc96eb0c] Performed GoodJob (Job ID: b206e7f7-596b-49da-8b86-9ab7cc96eb0c) from Async(default) in 14.87ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53] Performing BadJob (Job ID: 27951e37-5720-40c3-814e-a7c81b202c53) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.511989"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:41:16.512310"], ["updated_at", "2018-01-09 22:41:16.512310"]] [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:41:16.513641"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:41:16.513877"], ["id", 93]] [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27951e37-5720-40c3-814e-a7c81b202c53] Error performing BadJob (Job ID: 27951e37-5720-40c3-814e-a7c81b202c53) from Async(default) in 3.56ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05] Performing CanvasSync::Jobs::ReportChecker (Job ID: a62fe680-548b-4119-bcf7-d5a92e44bf05) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.520215"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.520525"], ["updated_at", "2018-01-09 22:41:16.520525"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 94]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a62fe680-548b-4119-bcf7-d5a92e44bf05] Performed CanvasSync::Jobs::ReportChecker (Job ID: a62fe680-548b-4119-bcf7-d5a92e44bf05) from Async(default) in 7.53ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56] Performing CanvasSync::Jobs::ReportChecker (Job ID: ae798a06-5f91-487c-88c5-e178ba6b3b56) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.531601"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.536926"], ["updated_at", "2018-01-09 22:41:16.536926"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 57b924cd-d7c5-4013-b78d-83baa1afc10f) to Async(default) at 2018-01-09 22:41:46 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 95]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae798a06-5f91-487c-88c5-e178ba6b3b56] Performed CanvasSync::Jobs::ReportChecker (Job ID: ae798a06-5f91-487c-88c5-e178ba6b3b56) from Async(default) in 10.82ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745] Performing CanvasSync::Jobs::ReportChecker (Job ID: 0c18fd65-a1ed-4e14-90ad-a6ae3887b745) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.554219"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.554715"], ["updated_at", "2018-01-09 22:41:16.554715"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:41:16.557433"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:41:16.557725"], ["id", 96]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0c18fd65-a1ed-4e14-90ad-a6ae3887b745] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 0c18fd65-a1ed-4e14-90ad-a6ae3887b745) from Async(default) in 5.6ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 52b6cae0-03ca-404f-ae2e-565f5205348b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.564533"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.564986"], ["updated_at", "2018-01-09 22:41:16.564986"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:41:16.566832"], ["id", 97]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.587751"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.588265"], ["id", 97]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [52b6cae0-03ca-404f-ae2e-565f5205348b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 52b6cae0-03ca-404f-ae2e-565f5205348b) from Async(default) in 25.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638] Performing CanvasSync::Jobs::ReportStarter (Job ID: 2bb1c58b-d8ef-49c1-a968-6183aa049638) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638] SQL (1.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.596112"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:41:16.596671"], ["updated_at", "2018-01-09 22:41:16.596671"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638]  (0.5ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f5c0689c-ee70-4d64-98fe-66c5daa23e03) to Async(default) at 2018-01-09 22:41:46 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.605858"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.606294"], ["id", 98]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2bb1c58b-d8ef-49c1-a968-6183aa049638] Performed CanvasSync::Jobs::ReportStarter (Job ID: 2bb1c58b-d8ef-49c1-a968-6183aa049638) from Async(default) in 11.82ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 19176c40-2187-4c08-90d7-61f8b1b6d7ef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.615053"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.615498"], ["updated_at", "2018-01-09 22:41:16.615498"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:41:16.631841"], ["exception", "ActiveRecord::AssociationTypeMismatch: Role(#70140740272920) expected, got \"AccountAdmin\" which is an instance of String(#70140742237740)"], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role='\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:41:16.632279"], ["id", 99]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [19176c40-2187-4c08-90d7-61f8b1b6d7ef] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 19176c40-2187-4c08-90d7-61f8b1b6d7ef) from Async(default) in 19.46ms: ActiveRecord::AssociationTypeMismatch (Role(#70140740272920) expected, got "AccountAdmin" which is an instance of String(#70140742237740)): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/association.rb:249:in `raise_on_type_mismatch!' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/belongs_to_association.rb:11:in `replace' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/singular_association.rb:15:in `writer' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/associations/builder/association.rb:119:in `role=' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `public_send' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:46:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49151544], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49151544], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "39e4e4eec0d45e8788e2081068c390a3"], ["created_at", "2018-01-09 22:41:16.650349"], ["updated_at", "2018-01-09 22:41:16.650349"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Term Exists (0.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4997155], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4997155], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "f1a711459d8f74d168689e88d8c7c9c8"], ["created_at", "2018-01-09 22:41:16.659742"], ["updated_at", "2018-01-09 22:41:16.659742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 51364674], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 51364674], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "inactive"], ["sis_id", "48e599d3c74702d9c095af68d5dee916"], ["created_at", "2018-01-09 22:41:16.662339"], ["updated_at", "2018-01-09 22:41:16.662339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d7db7527-63e9-493f-b1ef-39db7e21f947) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.664088"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:41:16.664548"], ["updated_at", "2018-01-09 22:41:16.664548"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:41:16.666634' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:41:16.666837' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.668103"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.668392"], ["id", 100]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d7db7527-63e9-493f-b1ef-39db7e21f947] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d7db7527-63e9-493f-b1ef-39db7e21f947) from Async(default) in 5.68ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5d9a1a56-fc54-46fd-805d-195d81f98a3e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.674805"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:41:16.675134"], ["updated_at", "2018-01-09 22:41:16.675134"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.676966"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.677237"], ["id", 101]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5d9a1a56-fc54-46fd-805d-195d81f98a3e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5d9a1a56-fc54-46fd-805d-195d81f98a3e) from Async(default) in 3.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: cd8bc7db-dae6-4163-9b57-b1e2add0c3ab) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.685255"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.685591"], ["updated_at", "2018-01-09 22:41:16.685591"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:41:16.700255"], ["updated_at", "2018-01-09 22:41:16.700255"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:41:16.716414"], ["updated_at", "2018-01-09 22:41:16.716414"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.720873"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.721211"], ["id", 102]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [cd8bc7db-dae6-4163-9b57-b1e2add0c3ab] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: cd8bc7db-dae6-4163-9b57-b1e2add0c3ab) from Async(default) in 37.39ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.728904"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.729298"], ["updated_at", "2018-01-09 22:41:16.729298"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:41:16.734992"], ["updated_at", "2018-01-09 22:41:16.734992"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.737431"], ["updated_at", "2018-01-09 22:41:16.737431"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.739769"], ["updated_at", "2018-01-09 22:41:16.739769"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:41:16.742452"], ["updated_at", "2018-01-09 22:41:16.742452"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:41:16.744787"], ["updated_at", "2018-01-09 22:41:16.744787"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.746985"], ["updated_at", "2018-01-09 22:41:16.746985"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.747898"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.748205"], ["id", 103]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 8c55f3d9-a07f-48d2-8ac2-ee31f86a49f9) from Async(default) in 20.78ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 68b2d558-e483-425d-989c-95322bc5c5ac) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:41:16.755432"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:41:16.755954"], ["updated_at", "2018-01-09 22:41:16.755954"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 89dd9b5d-934d-416c-b7d5-db191cb4c68d) to Async(default) at 2018-01-09 22:41:46 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:41:16.759256"], ["status", "success"], ["updated_at", "2018-01-09 22:41:16.759571"], ["id", 104]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68b2d558-e483-425d-989c-95322bc5c5ac] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 68b2d558-e483-425d-989c-95322bc5c5ac) from Async(default) in 5.56ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21170249], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21170249], ["sis_id", "130378fb038eb3ee0abc0c8dcefdfee2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:41:16.801754"], ["end_date", "2018-01-30 22:41:16.801899"], ["created_at", "2018-01-09 22:41:16.809264"], ["updated_at", "2018-01-09 22:41:16.809264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18369320], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 18369320], ["sis_id", "617d7c54cd0acf56fd70e6f357e10b4c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:41:16.824996"], ["end_date", "2018-01-30 22:41:16.825087"], ["created_at", "2018-01-09 22:41:16.826036"], ["updated_at", "2018-01-09 22:41:16.826036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18369320], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18303872], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 18303872], ["sis_id", "9ab0babcbb2aa420517192f72011e143"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:41:16.832851"], ["end_date", "2018-01-30 22:41:16.832921"], ["created_at", "2018-01-09 22:41:16.833785"], ["updated_at", "2018-01-09 22:41:16.833785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27429945], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 27429945], ["sis_id", "59d4783ae7a20989262884fdbadd8212"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:41:16.837371"], ["end_date", "2018-01-30 22:41:16.837431"], ["created_at", "2018-01-09 22:41:16.838213"], ["updated_at", "2018-01-09 22:41:16.838213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27314916], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 27314916], ["sis_id", "f75dbfa51fec8bd9af3d1bc1e26580e5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:41:16.841623"], ["end_date", "2018-01-30 22:41:16.841687"], ["created_at", "2018-01-09 22:41:16.842521"], ["updated_at", "2018-01-09 22:41:16.842521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (8.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 54292678], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 54292678], ["created_at", "2018-01-09 22:41:16.868846"], ["updated_at", "2018-01-09 22:41:16.868846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76014625], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76014625], ["created_at", "2018-01-09 22:41:16.876929"], ["updated_at", "2018-01-09 22:41:16.876929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76014625], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 83750225], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 83750225], ["created_at", "2018-01-09 22:41:16.885356"], ["updated_at", "2018-01-09 22:41:16.885356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 41666434], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 41666434], ["created_at", "2018-01-09 22:41:16.889867"], ["updated_at", "2018-01-09 22:41:16.889867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 33883657], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 33883657], ["created_at", "2018-01-09 22:41:16.893829"], ["updated_at", "2018-01-09 22:41:16.893829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 86664123], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 86664123], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.897990"], ["updated_at", "2018-01-09 22:41:16.897990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 45], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 20696506], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 20696506], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.903429"], ["updated_at", "2018-01-09 22:41:16.903429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 20696506], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (2.5ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:41:16.921842"], ["updated_at", "2018-01-09 22:41:16.921842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:41:16.935704"], ["updated_at", "2018-01-09 22:41:16.935704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 48], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:41:16.940756"], ["id", 48]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 19179009], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 19179009], ["created_at", "2018-01-09 22:41:16.962080"], ["updated_at", "2018-01-09 22:41:16.962080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 4324038], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 4324038], ["created_at", "2018-01-09 22:41:16.977558"], ["updated_at", "2018-01-09 22:41:16.977558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 4324038], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 21175181], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 21175181], ["created_at", "2018-01-09 22:41:16.985866"], ["updated_at", "2018-01-09 22:41:16.985866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 50074384], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 50074384], ["created_at", "2018-01-09 22:41:16.990519"], ["updated_at", "2018-01-09 22:41:16.990519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66426191], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66426191], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "3a7fcd34020f23aca817a607529f179f"], ["created_at", "2018-01-09 22:41:16.995719"], ["updated_at", "2018-01-09 22:41:16.995719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 136], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55445435], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 55445435], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "8b74eb4212356d8e889f18044879f5f0"], ["created_at", "2018-01-09 22:41:17.001593"], ["updated_at", "2018-01-09 22:41:17.001593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55445435], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85802886], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 85802886], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "2823279279a16a23b04f4c0fe35b04cd"], ["created_at", "2018-01-09 22:41:17.008442"], ["updated_at", "2018-01-09 22:41:17.008442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71881420], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71881420], ["name", "Cool Term"], ["start_at", "2018-01-07 22:41:17.018329"], ["end_at", "2018-01-12 22:41:17.018405"], ["workflow_state", "active"], ["sis_id", "983ea183dd419daaa78b8bd062d9b115"], ["created_at", "2018-01-09 22:41:17.019767"], ["updated_at", "2018-01-09 22:41:17.019767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 87748579], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 87748579], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "inactive"], ["sis_id", "8cf09e85dc6a5b8371ce1df193d2adbc"], ["created_at", "2018-01-09 22:41:17.021871"], ["updated_at", "2018-01-09 22:41:17.021871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89724742], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89724742], ["name", "Cool Term"], ["start_at", "2017-11-09 22:41:17.022851"], ["end_at", "2017-12-09 22:41:17.022916"], ["workflow_state", "active"], ["sis_id", "594b7cf9e333bc083112371b470468e7"], ["created_at", "2018-01-09 22:41:17.023928"], ["updated_at", "2018-01-09 22:41:17.023928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 620246], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 620246], ["name", "Cool Term"], ["start_at", "2018-07-09 22:41:17.024914"], ["end_at", "2019-01-09 22:41:17.024967"], ["workflow_state", "active"], ["sis_id", "88d3672ac68ef74db06188e206cb2dd8"], ["created_at", "2018-01-09 22:41:17.027191"], ["updated_at", "2018-01-09 22:41:17.027191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:41:17.028526' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:41:17.028654' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:41:17.034762"], ["updated_at", "2018-01-09 22:41:17.034762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:41:15.733522"], ["end_at", "2018-01-12 22:41:15.733687"], ["workflow_state", "active"], ["sis_id", "16a025bccadeba4c58490b8c84f34850"], ["created_at", "2018-01-09 22:41:17.044173"], ["updated_at", "2018-01-09 22:41:17.044173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 144], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:41:17.046980"], ["id", 144]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 144], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 69854937], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 69854937], ["sis_id", "ad8764cd551c1db1456a05665d8a28e0"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:41:17.062945"], ["updated_at", "2018-01-09 22:41:17.062945"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 93295001], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 93295001], ["sis_id", "1ee212bf0a3fd08815f72b519ad2f2b4"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:41:17.077658"], ["updated_at", "2018-01-09 22:41:17.077658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 93295001], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 40577943], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 40577943], ["sis_id", "4803149ed61f517e4e7897f58679d772"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:41:17.086043"], ["updated_at", "2018-01-09 22:41:17.086043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:41:17.092712','2018-01-09 22:41:17.092712'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:41:17.092712','2018-01-09 22:41:17.092712') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:41:17.098979','2018-01-09 22:41:17.098979'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:41:17.098979','2018-01-09 22:41:17.098979') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:41:17.105698','2018-01-09 22:41:17.105698'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:41:17.105698','2018-01-09 22:41:17.105698') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:41:17.119679','2018-01-09 22:41:17.119679'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:41:17.119679','2018-01-09 22:41:17.119679') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:41:17.127210','2018-01-09 22:41:17.127210') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:41:17.137195','2018-01-09 22:41:17.137195'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:41:17.137195','2018-01-09 22:41:17.137195') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:41:17.139130','2018-01-09 22:41:17.139130'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:41:17.139130','2018-01-09 22:41:17.139130') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213] Performing GoodJob (Job ID: 34a5d883-86d8-4d2f-baba-1ff248f9e213) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.566646"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:46:06.577976"], ["updated_at", "2018-01-09 22:46:06.577976"]] [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.580133"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.580384"], ["id", 105]] [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [34a5d883-86d8-4d2f-baba-1ff248f9e213] Performed GoodJob (Job ID: 34a5d883-86d8-4d2f-baba-1ff248f9e213) from Async(default) in 15.02ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2] Performing BadJob (Job ID: 46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.594322"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:46:06.594653"], ["updated_at", "2018-01-09 22:46:06.594653"]] [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:46:06.596147"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:46:06.596394"], ["id", 106]] [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2] Error performing BadJob (Job ID: 46a61fc2-e2c8-4ae1-b4cb-8f7c9ab2c6c2) from Async(default) in 3.85ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7c72b30c-43ee-4981-9edd-4878c0eb5aec) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.602603"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.604188"], ["updated_at", "2018-01-09 22:46:06.604188"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 107]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7c72b30c-43ee-4981-9edd-4878c0eb5aec] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7c72b30c-43ee-4981-9edd-4878c0eb5aec) from Async(default) in 9.03ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9] Performing CanvasSync::Jobs::ReportChecker (Job ID: b833464e-39cd-4f40-914e-c12594fcf3a9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.614884"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.615245"], ["updated_at", "2018-01-09 22:46:06.615245"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5fe431f4-36cd-4f45-92f5-9162c5c4f112) to Async(default) at 2018-01-09 22:46:36 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 108]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b833464e-39cd-4f40-914e-c12594fcf3a9] Performed CanvasSync::Jobs::ReportChecker (Job ID: b833464e-39cd-4f40-914e-c12594fcf3a9) from Async(default) in 5.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423] Performing CanvasSync::Jobs::ReportChecker (Job ID: d4defbdf-b203-428b-8285-de01182c8423) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.624180"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.624538"], ["updated_at", "2018-01-09 22:46:06.624538"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:46:06.626707"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:46:06.626928"], ["id", 109]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d4defbdf-b203-428b-8285-de01182c8423] Error performing CanvasSync::Jobs::ReportChecker (Job ID: d4defbdf-b203-428b-8285-de01182c8423) from Async(default) in 11.28ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 6b6f8f6a-3949-479e-b8f8-48b431255e78) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.640045"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.640553"], ["updated_at", "2018-01-09 22:46:06.640553"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:46:06.648721"], ["id", 110]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.681058"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.681571"], ["id", 110]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [6b6f8f6a-3949-479e-b8f8-48b431255e78] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 6b6f8f6a-3949-479e-b8f8-48b431255e78) from Async(default) in 43.36ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b] Performing CanvasSync::Jobs::ReportStarter (Job ID: 252d7630-b54e-4c0f-8b89-7ed14cd21b8b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.688386"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:46:06.688966"], ["updated_at", "2018-01-09 22:46:06.688966"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 83b4e3dd-599d-4075-9111-56ba1b1bc229) to Async(default) at 2018-01-09 22:46:36 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.693341"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.693687"], ["id", 111]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [252d7630-b54e-4c0f-8b89-7ed14cd21b8b] Performed CanvasSync::Jobs::ReportStarter (Job ID: 252d7630-b54e-4c0f-8b89-7ed14cd21b8b) from Async(default) in 6.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: b3c82000-496a-467c-9c18-cf515532d241) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.702129"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.702500"], ["updated_at", "2018-01-09 22:46:06.702500"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:46:06.715441"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:46:06.715755"], ["id", 112]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [b3c82000-496a-467c-9c18-cf515532d241] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: b3c82000-496a-467c-9c18-cf515532d241) from Async(default) in 15.82ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (1.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82009720], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82009720], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "da3c2f52833594801c02b947ca996004"], ["created_at", "2018-01-09 22:46:06.745910"], ["updated_at", "2018-01-09 22:46:06.745910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 20491197], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 20491197], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "cc07ca7fde0def2544c656f03f5b93cd"], ["created_at", "2018-01-09 22:46:06.748659"], ["updated_at", "2018-01-09 22:46:06.748659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37676530], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37676530], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "inactive"], ["sis_id", "bcc7b0a9ee9c167549c8f9d481428628"], ["created_at", "2018-01-09 22:46:06.750496"], ["updated_at", "2018-01-09 22:46:06.750496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ffe4671a-e5b9-451d-9be7-7a04bfeeab25) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.751915"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:46:06.752338"], ["updated_at", "2018-01-09 22:46:06.752338"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25] Term Load (0.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:46:06.754854' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:46:06.755096' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.756805"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.757191"], ["id", 113]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [ffe4671a-e5b9-451d-9be7-7a04bfeeab25] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: ffe4671a-e5b9-451d-9be7-7a04bfeeab25) from Async(default) in 6.66ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.762095"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:46:06.762382"], ["updated_at", "2018-01-09 22:46:06.762382"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.764102"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.764377"], ["id", 114]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a7e760a4-4b25-41c6-a9a9-6b4a49ec1e53) from Async(default) in 3.51ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: acaca7f9-04a7-4c44-b283-8aa0ffd61657) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.773654"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.774208"], ["updated_at", "2018-01-09 22:46:06.774208"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:46:06.792826"], ["updated_at", "2018-01-09 22:46:06.792826"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] SQL (1.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:46:06.810671"], ["updated_at", "2018-01-09 22:46:06.810671"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.816159"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.816493"], ["id", 115]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [acaca7f9-04a7-4c44-b283-8aa0ffd61657] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: acaca7f9-04a7-4c44-b283-8aa0ffd61657) from Async(default) in 48.22ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.829214"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.829593"], ["updated_at", "2018-01-09 22:46:06.829593"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:46:06.835412"], ["updated_at", "2018-01-09 22:46:06.835412"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:06.838036"], ["updated_at", "2018-01-09 22:46:06.838036"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:06.842107"], ["updated_at", "2018-01-09 22:46:06.842107"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:46:06.845341"], ["updated_at", "2018-01-09 22:46:06.845341"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:46:06.847782"], ["updated_at", "2018-01-09 22:46:06.847782"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:06.850729"], ["updated_at", "2018-01-09 22:46:06.850729"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.851714"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.852010"], ["id", 116]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: fdd3adc1-4ad7-447d-a47d-c16fbb3e06c5) from Async(default) in 24.23ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.9ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 579f4941-1e84-4c0f-940f-37c011b54c11) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:46:06.865584"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:46:06.866208"], ["updated_at", "2018-01-09 22:46:06.866208"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f6627db7-9203-4ee2-bcb9-1a3aaddf56b3) to Async(default) at 2018-01-09 22:46:36 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:46:06.869456"], ["status", "success"], ["updated_at", "2018-01-09 22:46:06.869779"], ["id", 117]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [579f4941-1e84-4c0f-940f-37c011b54c11] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 579f4941-1e84-4c0f-940f-37c011b54c11) from Async(default) in 5.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 7193215], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 7193215], ["sis_id", "a42226e78a3dad787c86c4934823c03d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:46:06.905673"], ["end_date", "2018-01-30 22:46:06.905833"], ["created_at", "2018-01-09 22:46:06.909810"], ["updated_at", "2018-01-09 22:46:06.909810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 73], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18237791], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 18237791], ["sis_id", "17f2571cc15cf6f95e7d059810b6ca64"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:46:06.928442"], ["end_date", "2018-01-30 22:46:06.928540"], ["created_at", "2018-01-09 22:46:06.930644"], ["updated_at", "2018-01-09 22:46:06.930644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18237791], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 189578], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 189578], ["sis_id", "a33cac252314503cceaff202a8d17d29"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:46:06.938063"], ["end_date", "2018-01-30 22:46:06.938142"], ["created_at", "2018-01-09 22:46:06.939414"], ["updated_at", "2018-01-09 22:46:06.939414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 85157704], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 85157704], ["sis_id", "f0b915b186dd7e28daabca92a681b844"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:46:06.943435"], ["end_date", "2018-01-30 22:46:06.943505"], ["created_at", "2018-01-09 22:46:06.944395"], ["updated_at", "2018-01-09 22:46:06.944395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 28376057], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 28376057], ["sis_id", "0a7a3554b5bf302d46df4bd7965a8773"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:46:06.947965"], ["end_date", "2018-01-30 22:46:06.948026"], ["created_at", "2018-01-09 22:46:06.948858"], ["updated_at", "2018-01-09 22:46:06.948858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (3.0ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 36108826], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 36108826], ["created_at", "2018-01-09 22:46:06.975409"], ["updated_at", "2018-01-09 22:46:06.975409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 56360534], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 56360534], ["created_at", "2018-01-09 22:46:06.985559"], ["updated_at", "2018-01-09 22:46:06.985559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 56360534], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67611168], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 67611168], ["created_at", "2018-01-09 22:46:06.993394"], ["updated_at", "2018-01-09 22:46:06.993394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 36523650], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 36523650], ["created_at", "2018-01-09 22:46:06.997392"], ["updated_at", "2018-01-09 22:46:06.997392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 92137816], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 92137816], ["created_at", "2018-01-09 22:46:07.001390"], ["updated_at", "2018-01-09 22:46:07.001390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 54083336], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 54083336], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:07.006428"], ["updated_at", "2018-01-09 22:46:07.006428"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 69070246], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 69070246], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:07.013561"], ["updated_at", "2018-01-09 22:46:07.013561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 69070246], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:46:07.033089"], ["updated_at", "2018-01-09 22:46:07.033089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:46:07.049436"], ["updated_at", "2018-01-09 22:46:07.049436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:46:07.054090"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (9.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 59878966], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 59878966], ["created_at", "2018-01-09 22:46:07.088999"], ["updated_at", "2018-01-09 22:46:07.088999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 28837575], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 28837575], ["created_at", "2018-01-09 22:46:07.098645"], ["updated_at", "2018-01-09 22:46:07.098645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 28837575], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 68067890], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 68067890], ["created_at", "2018-01-09 22:46:07.106584"], ["updated_at", "2018-01-09 22:46:07.106584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 53671760], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 53671760], ["created_at", "2018-01-09 22:46:07.110903"], ["updated_at", "2018-01-09 22:46:07.110903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3847311], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 3847311], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "ed9fe2800cea1b577a5ace590ae7beda"], ["created_at", "2018-01-09 22:46:07.115500"], ["updated_at", "2018-01-09 22:46:07.115500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 154], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 48106079], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 48106079], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "edf75c552a06b4db6bf698c5a8e6641f"], ["created_at", "2018-01-09 22:46:07.121109"], ["updated_at", "2018-01-09 22:46:07.121109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 48106079], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 211356], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 211356], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "71cde946a2ee813d9473b2f09e56c8ab"], ["created_at", "2018-01-09 22:46:07.128319"], ["updated_at", "2018-01-09 22:46:07.128319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67771471], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67771471], ["name", "Cool Term"], ["start_at", "2018-01-07 22:46:07.140170"], ["end_at", "2018-01-12 22:46:07.140280"], ["workflow_state", "active"], ["sis_id", "849ecfea022caffc9acca3098b7a4df1"], ["created_at", "2018-01-09 22:46:07.142211"], ["updated_at", "2018-01-09 22:46:07.142211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61660227], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61660227], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "inactive"], ["sis_id", "820ee63fb532c3b2220796c2a530b993"], ["created_at", "2018-01-09 22:46:07.144591"], ["updated_at", "2018-01-09 22:46:07.144591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79884272], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 79884272], ["name", "Cool Term"], ["start_at", "2017-11-09 22:46:07.145611"], ["end_at", "2017-12-09 22:46:07.145673"], ["workflow_state", "active"], ["sis_id", "079484d09eca356f389bfc12f9f3d3dd"], ["created_at", "2018-01-09 22:46:07.146767"], ["updated_at", "2018-01-09 22:46:07.146767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 9637806], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 9637806], ["name", "Cool Term"], ["start_at", "2018-07-09 22:46:07.147733"], ["end_at", "2019-01-09 22:46:07.147801"], ["workflow_state", "active"], ["sis_id", "ac3130d0fceffab2eeeec0b59d0851a4"], ["created_at", "2018-01-09 22:46:07.148805"], ["updated_at", "2018-01-09 22:46:07.148805"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:46:07.150972' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:46:07.151141' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:46:07.158248"], ["updated_at", "2018-01-09 22:46:07.158248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:46:05.626859"], ["end_at", "2018-01-12 22:46:05.627050"], ["workflow_state", "active"], ["sis_id", "30f9ef9dabc93a4e277908a9ed4443cc"], ["created_at", "2018-01-09 22:46:07.163945"], ["updated_at", "2018-01-09 22:46:07.163945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 162], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:46:07.166905"], ["id", 162]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.7ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 13689459], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 13689459], ["sis_id", "63b897d46ad5b5491074d4013623b062"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:46:07.184763"], ["updated_at", "2018-01-09 22:46:07.184763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (1.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95605090], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 95605090], ["sis_id", "a74096a85a599eeb5cfc26b3a907fbf4"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:46:07.199752"], ["updated_at", "2018-01-09 22:46:07.199752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.6ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95605090], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 74753522], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 74753522], ["sis_id", "459da528ccf1a68c2489c7f820979a82"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:46:07.211128"], ["updated_at", "2018-01-09 22:46:07.211128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:46:07.221761','2018-01-09 22:46:07.221761'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:46:07.221761','2018-01-09 22:46:07.221761') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:46:07.229464','2018-01-09 22:46:07.229464'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:46:07.229464','2018-01-09 22:46:07.229464') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:46:07.243449','2018-01-09 22:46:07.243449'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:46:07.243449','2018-01-09 22:46:07.243449') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:46:07.251108','2018-01-09 22:46:07.251108'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:46:07.251108','2018-01-09 22:46:07.251108') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:46:07.258037','2018-01-09 22:46:07.258037') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:46:07.267889','2018-01-09 22:46:07.267889'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:46:07.267889','2018-01-09 22:46:07.267889') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:46:07.269623','2018-01-09 22:46:07.269623'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:46:07.269623','2018-01-09 22:46:07.269623') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb] Performing GoodJob (Job ID: f2d27a33-b93d-4a27-a36b-b3aedd95bdbb) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb] SQL (0.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.918319"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:47:37.928379"], ["updated_at", "2018-01-09 22:47:37.928379"]] [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:37.931047"], ["status", "success"], ["updated_at", "2018-01-09 22:47:37.931326"], ["id", 118]] [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f2d27a33-b93d-4a27-a36b-b3aedd95bdbb] Performed GoodJob (Job ID: f2d27a33-b93d-4a27-a36b-b3aedd95bdbb) from Async(default) in 14.34ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18] Performing BadJob (Job ID: 51512130-0e9c-4fc1-9297-a5cdb06ede18) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.945777"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:47:37.946246"], ["updated_at", "2018-01-09 22:47:37.946246"]] [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:47:37.947857"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:47:37.948207"], ["id", 119]] [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [51512130-0e9c-4fc1-9297-a5cdb06ede18] Error performing BadJob (Job ID: 51512130-0e9c-4fc1-9297-a5cdb06ede18) from Async(default) in 4.29ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f] Performing CanvasSync::Jobs::ReportChecker (Job ID: a81f9b8f-db71-4e00-8943-77c8db95763f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.955408"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:37.955833"], ["updated_at", "2018-01-09 22:47:37.955833"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 120]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a81f9b8f-db71-4e00-8943-77c8db95763f] Performed CanvasSync::Jobs::ReportChecker (Job ID: a81f9b8f-db71-4e00-8943-77c8db95763f) from Async(default) in 8.39ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1476bff7-fc97-44d1-82fa-a66ca1630fc3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.967584"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:37.967986"], ["updated_at", "2018-01-09 22:47:37.967986"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 850ed4a3-9c6c-4d8e-a959-1eabbf86d503) to Async(default) at 2018-01-09 22:48:07 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 121]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1476bff7-fc97-44d1-82fa-a66ca1630fc3] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1476bff7-fc97-44d1-82fa-a66ca1630fc3) from Async(default) in 4.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df] Performing CanvasSync::Jobs::ReportChecker (Job ID: 35bdc56e-fe20-4985-9e47-f0e38632c8df) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.975606"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:37.975951"], ["updated_at", "2018-01-09 22:47:37.975951"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:47:37.977883"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:47:37.978144"], ["id", 122]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35bdc56e-fe20-4985-9e47-f0e38632c8df] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 35bdc56e-fe20-4985-9e47-f0e38632c8df) from Async(default) in 4.35ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: b51e012c-4339-4e23-8b26-85d3cdf09f9f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:37.984034"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:37.984422"], ["updated_at", "2018-01-09 22:47:37.984422"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:47:37.986507"], ["id", 123]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.015917"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.016395"], ["id", 123]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b51e012c-4339-4e23-8b26-85d3cdf09f9f] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: b51e012c-4339-4e23-8b26-85d3cdf09f9f) from Async(default) in 33.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad] Performing CanvasSync::Jobs::ReportStarter (Job ID: ce6245a6-647f-44c5-9878-221a42ddccad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.022565"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:47:38.022931"], ["updated_at", "2018-01-09 22:47:38.022931"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 688ed407-565f-4cd5-a28e-f8b0f0481c7b) to Async(default) at 2018-01-09 22:48:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.025460"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.025776"], ["id", 124]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ce6245a6-647f-44c5-9878-221a42ddccad] Performed CanvasSync::Jobs::ReportStarter (Job ID: ce6245a6-647f-44c5-9878-221a42ddccad) from Async(default) in 4.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 681886a2-d671-477d-a213-b260c8266906) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.035326"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:38.035806"], ["updated_at", "2018-01-09 22:47:38.035806"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:47:38.047283"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:47:38.047651"], ["id", 125]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [681886a2-d671-477d-a213-b260c8266906] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 681886a2-d671-477d-a213-b260c8266906) from Async(default) in 14.56ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (6.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 47448493], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 47448493], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "8ee52065851c22772f43ef3b14385131"], ["created_at", "2018-01-09 22:47:38.081869"], ["updated_at", "2018-01-09 22:47:38.081869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 98028037], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 98028037], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "ee0ff1b5839fcefded3f3656dfc9691e"], ["created_at", "2018-01-09 22:47:38.084415"], ["updated_at", "2018-01-09 22:47:38.084415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 47068987], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 47068987], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "inactive"], ["sis_id", "fb8ac4812c4345c2f70f5b9c83684018"], ["created_at", "2018-01-09 22:47:38.086221"], ["updated_at", "2018-01-09 22:47:38.086221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: af60a850-65d2-443d-b3f8-d55befa8bfeb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.087674"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:47:38.088059"], ["updated_at", "2018-01-09 22:47:38.088059"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:47:38.090171' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:47:38.090359' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.091762"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.092074"], ["id", 126]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [af60a850-65d2-443d-b3f8-d55befa8bfeb] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: af60a850-65d2-443d-b3f8-d55befa8bfeb) from Async(default) in 5.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b9f4a35b-0c5e-4b70-afd2-092c4f4456a1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.097986"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:47:38.098382"], ["updated_at", "2018-01-09 22:47:38.098382"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.100140"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.100401"], ["id", 127]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b9f4a35b-0c5e-4b70-afd2-092c4f4456a1] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b9f4a35b-0c5e-4b70-afd2-092c4f4456a1) from Async(default) in 3.75ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 8a34c62c-dbab-4b3f-a86e-7817581fe709) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.110880"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:38.111474"], ["updated_at", "2018-01-09 22:47:38.111474"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Role Exists (1.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] SQL (0.9ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:47:38.136683"], ["updated_at", "2018-01-09 22:47:38.136683"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:47:38.146352"], ["updated_at", "2018-01-09 22:47:38.146352"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.151606"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.151997"], ["id", 128]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8a34c62c-dbab-4b3f-a86e-7817581fe709] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 8a34c62c-dbab-4b3f-a86e-7817581fe709) from Async(default) in 42.54ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 2a04ae20-f3bc-45d0-9bee-85eed76ae734) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.159620"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:38.159974"], ["updated_at", "2018-01-09 22:47:38.159974"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:47:38.165869"], ["updated_at", "2018-01-09 22:47:38.165869"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.168282"], ["updated_at", "2018-01-09 22:47:38.168282"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.170443"], ["updated_at", "2018-01-09 22:47:38.170443"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:47:38.173287"], ["updated_at", "2018-01-09 22:47:38.173287"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:47:38.175979"], ["updated_at", "2018-01-09 22:47:38.175979"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.178470"], ["updated_at", "2018-01-09 22:47:38.178470"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.179422"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.179728"], ["id", 129]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2a04ae20-f3bc-45d0-9bee-85eed76ae734] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 2a04ae20-f3bc-45d0-9bee-85eed76ae734) from Async(default) in 21.46ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:47:38.186530"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:47:38.186927"], ["updated_at", "2018-01-09 22:47:38.186927"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4]  (1.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1ecd3e16-cc0c-42a2-a77c-5256652bb170) to Async(default) at 2018-01-09 22:48:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:47:38.197278"], ["status", "success"], ["updated_at", "2018-01-09 22:47:38.197750"], ["id", 130]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 26fe2a8e-068a-47a1-a7b8-f3047c7fc5e4) from Async(default) in 12.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 30476815], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 30476815], ["sis_id", "63b9c2c0032f1012553846eb58748574"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:47:38.231316"], ["end_date", "2018-01-30 22:47:38.231434"], ["created_at", "2018-01-09 22:47:38.235192"], ["updated_at", "2018-01-09 22:47:38.235192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 55158255], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 55158255], ["sis_id", "b30d01c50777b6c0fc176c6361c46ffe"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:47:38.253578"], ["end_date", "2018-01-30 22:47:38.253688"], ["created_at", "2018-01-09 22:47:38.254922"], ["updated_at", "2018-01-09 22:47:38.254922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (1.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 55158255], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1333089], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1333089], ["sis_id", "8ec39457116e967b5ee69384508f120a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:47:38.263268"], ["end_date", "2018-01-30 22:47:38.263339"], ["created_at", "2018-01-09 22:47:38.264229"], ["updated_at", "2018-01-09 22:47:38.264229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21682583], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21682583], ["sis_id", "b94a3528c297a1e35c228d95be0bbba6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:47:38.268259"], ["end_date", "2018-01-30 22:47:38.268327"], ["created_at", "2018-01-09 22:47:38.269253"], ["updated_at", "2018-01-09 22:47:38.269253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59758905], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 59758905], ["sis_id", "a4b16f0dc863eafc467a8397c8f561cd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:47:38.273304"], ["end_date", "2018-01-30 22:47:38.273401"], ["created_at", "2018-01-09 22:47:38.274336"], ["updated_at", "2018-01-09 22:47:38.274336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76242562], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76242562], ["created_at", "2018-01-09 22:47:38.301237"], ["updated_at", "2018-01-09 22:47:38.301237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 42632471], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 42632471], ["created_at", "2018-01-09 22:47:38.310199"], ["updated_at", "2018-01-09 22:47:38.310199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 42632471], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 8884713], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 8884713], ["created_at", "2018-01-09 22:47:38.317635"], ["updated_at", "2018-01-09 22:47:38.317635"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 70569195], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 70569195], ["created_at", "2018-01-09 22:47:38.322544"], ["updated_at", "2018-01-09 22:47:38.322544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 51057926], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 51057926], ["created_at", "2018-01-09 22:47:38.327790"], ["updated_at", "2018-01-09 22:47:38.327790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 38834550], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 38834550], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.339007"], ["updated_at", "2018-01-09 22:47:38.339007"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 58071915], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 58071915], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.354219"], ["updated_at", "2018-01-09 22:47:38.354219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (1.6ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 58071915], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:47:38.367219"], ["updated_at", "2018-01-09 22:47:38.367219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:47:38.378060"], ["updated_at", "2018-01-09 22:47:38.378060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 60], ["LIMIT", 1]] SQL (0.6ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:47:38.383070"], ["id", 60]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 83472493], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 83472493], ["created_at", "2018-01-09 22:47:38.417145"], ["updated_at", "2018-01-09 22:47:38.417145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 41148698], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 41148698], ["created_at", "2018-01-09 22:47:38.424707"], ["updated_at", "2018-01-09 22:47:38.424707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 41148698], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 14180126], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 14180126], ["created_at", "2018-01-09 22:47:38.432221"], ["updated_at", "2018-01-09 22:47:38.432221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 25067473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 25067473], ["created_at", "2018-01-09 22:47:38.438363"], ["updated_at", "2018-01-09 22:47:38.438363"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85480567], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 85480567], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "688212effc673f8b41a061cb72f8b803"], ["created_at", "2018-01-09 22:47:38.453946"], ["updated_at", "2018-01-09 22:47:38.453946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 172], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12840943], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 12840943], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "65cc7bb6eba60585d728917ec1a4c833"], ["created_at", "2018-01-09 22:47:38.462197"], ["updated_at", "2018-01-09 22:47:38.462197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12840943], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81583072], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81583072], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "73ae10607c49234ae439d2efafca4fa1"], ["created_at", "2018-01-09 22:47:38.469732"], ["updated_at", "2018-01-09 22:47:38.469732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79897479], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 79897479], ["name", "Cool Term"], ["start_at", "2018-01-07 22:47:38.473521"], ["end_at", "2018-01-12 22:47:38.473598"], ["workflow_state", "active"], ["sis_id", "8f88ab3da9f4fd5301de7902f8c56769"], ["created_at", "2018-01-09 22:47:38.474849"], ["updated_at", "2018-01-09 22:47:38.474849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78078117], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 78078117], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "inactive"], ["sis_id", "f232198173cd77ce2dae72060cd9f8c7"], ["created_at", "2018-01-09 22:47:38.477098"], ["updated_at", "2018-01-09 22:47:38.477098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3068533], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 3068533], ["name", "Cool Term"], ["start_at", "2017-11-09 22:47:38.478057"], ["end_at", "2017-12-09 22:47:38.478159"], ["workflow_state", "active"], ["sis_id", "65a7de13589f8d6da547c1ba97af8478"], ["created_at", "2018-01-09 22:47:38.479134"], ["updated_at", "2018-01-09 22:47:38.479134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6050715], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 6050715], ["name", "Cool Term"], ["start_at", "2018-07-09 22:47:38.480313"], ["end_at", "2019-01-09 22:47:38.480409"], ["workflow_state", "active"], ["sis_id", "3d83f88843ee9ba3e5ef80979387c73b"], ["created_at", "2018-01-09 22:47:38.481553"], ["updated_at", "2018-01-09 22:47:38.481553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:47:38.482574' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:47:38.482713' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:47:38.494729"], ["updated_at", "2018-01-09 22:47:38.494729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:47:37.110024"], ["end_at", "2018-01-12 22:47:37.110216"], ["workflow_state", "active"], ["sis_id", "591b51d782cae79be624f7eb86d37223"], ["created_at", "2018-01-09 22:47:38.502735"], ["updated_at", "2018-01-09 22:47:38.502735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 180], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:47:38.506248"], ["id", 180]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 180], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 50823424], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 50823424], ["sis_id", "a6bbf8787db4c12e809aa722437b1fa4"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:47:38.523655"], ["updated_at", "2018-01-09 22:47:38.523655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95977750], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 95977750], ["sis_id", "3a498b0112fc825848381165aff94126"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:47:38.530464"], ["updated_at", "2018-01-09 22:47:38.530464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.6ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95977750], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 7022368], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 7022368], ["sis_id", "fdc9fee33f01b6700aaac95a9dafa657"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:47:38.547712"], ["updated_at", "2018-01-09 22:47:38.547712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:47:38.556635','2018-01-09 22:47:38.556635'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:47:38.556635','2018-01-09 22:47:38.556635') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:47:38.563533','2018-01-09 22:47:38.563533'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:47:38.563533','2018-01-09 22:47:38.563533') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:47:38.570645','2018-01-09 22:47:38.570645'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:47:38.570645','2018-01-09 22:47:38.570645') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:47:38.577093','2018-01-09 22:47:38.577093'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:47:38.577093','2018-01-09 22:47:38.577093') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:47:38.585432','2018-01-09 22:47:38.585432') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:47:38.603276','2018-01-09 22:47:38.603276'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:47:38.603276','2018-01-09 22:47:38.603276') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:47:38.604967','2018-01-09 22:47:38.604967'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:47:38.604967','2018-01-09 22:47:38.604967') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b] Performing GoodJob (Job ID: b2cf931e-f008-4aa5-b256-933d8b08c70b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.526283"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:51:33.535948"], ["updated_at", "2018-01-09 22:51:33.535948"]] [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.538516"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.538845"], ["id", 131]] [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [b2cf931e-f008-4aa5-b256-933d8b08c70b] Performed GoodJob (Job ID: b2cf931e-f008-4aa5-b256-933d8b08c70b) from Async(default) in 14.07ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5] Performing BadJob (Job ID: 8dd7d127-4c16-4d45-b2f1-261bfda1c3b5) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.553579"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:51:33.554030"], ["updated_at", "2018-01-09 22:51:33.554030"]] [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:51:33.555602"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:51:33.555910"], ["id", 132]] [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [8dd7d127-4c16-4d45-b2f1-261bfda1c3b5] Error performing BadJob (Job ID: 8dd7d127-4c16-4d45-b2f1-261bfda1c3b5) from Async(default) in 4.09ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a] Performing CanvasSync::Jobs::ReportChecker (Job ID: fe0c3435-dae2-4041-80ce-a909da06e91a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.561641"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.561984"], ["updated_at", "2018-01-09 22:51:33.561984"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 133]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fe0c3435-dae2-4041-80ce-a909da06e91a] Performed CanvasSync::Jobs::ReportChecker (Job ID: fe0c3435-dae2-4041-80ce-a909da06e91a) from Async(default) in 9.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007] Performing CanvasSync::Jobs::ReportChecker (Job ID: a36ca22a-ea67-421c-8364-bd5e4c340007) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.574379"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.574679"], ["updated_at", "2018-01-09 22:51:33.574679"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5dfbb96b-9480-4ff6-897e-6dd103252275) to Async(default) at 2018-01-09 22:52:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 134]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a36ca22a-ea67-421c-8364-bd5e4c340007] Performed CanvasSync::Jobs::ReportChecker (Job ID: a36ca22a-ea67-421c-8364-bd5e4c340007) from Async(default) in 4.97ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d] Performing CanvasSync::Jobs::ReportChecker (Job ID: a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.582507"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.582830"], ["updated_at", "2018-01-09 22:51:33.582830"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:51:33.584796"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:51:33.585023"], ["id", 135]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d]  (1.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d] Error performing CanvasSync::Jobs::ReportChecker (Job ID: a1c2e20c-14a6-4ea8-abfe-79e2f5343e1d) from Async(default) in 7.41ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (1.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.597779"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.598227"], ["updated_at", "2018-01-09 22:51:33.598227"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:51:33.600628"], ["id", 136]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25] SQL (2.1ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.630033"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.630422"], ["id", 136]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: f7b8e47e-a4ba-48b8-bdee-8ef518b7fd25) from Async(default) in 41.06ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2] Performing CanvasSync::Jobs::ReportStarter (Job ID: d07e7899-7e9b-4c0a-8116-e1fcdd2334f2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.643100"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:51:33.643495"], ["updated_at", "2018-01-09 22:51:33.643495"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 29f67281-d93a-4037-9494-271a6a366258) to Async(default) at 2018-01-09 22:52:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.646616"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.647009"], ["id", 137]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d07e7899-7e9b-4c0a-8116-e1fcdd2334f2] Performed CanvasSync::Jobs::ReportStarter (Job ID: d07e7899-7e9b-4c0a-8116-e1fcdd2334f2) from Async(default) in 5.39ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: fc1c089d-6aa5-4165-9fc0-de092317f342) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.656395"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.656787"], ["updated_at", "2018-01-09 22:51:33.656787"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:51:33.668812"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:51:33.669297"], ["id", 138]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fc1c089d-6aa5-4165-9fc0-de092317f342] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: fc1c089d-6aa5-4165-9fc0-de092317f342) from Async(default) in 15.1ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (7.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30839396], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30839396], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "faac1377c5fe139e609aa9459de64c1e"], ["created_at", "2018-01-09 22:51:33.700491"], ["updated_at", "2018-01-09 22:51:33.700491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71386785], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71386785], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "8680ad7b57f3b2abc44714008d030c33"], ["created_at", "2018-01-09 22:51:33.703179"], ["updated_at", "2018-01-09 22:51:33.703179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 69120953], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 69120953], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "inactive"], ["sis_id", "1ab09b26fa02c3e5698ce0b03e8f0d8d"], ["created_at", "2018-01-09 22:51:33.705079"], ["updated_at", "2018-01-09 22:51:33.705079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d9d994c0-c62a-491c-97d4-7c5505e0d5e7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7] SQL (0.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.706446"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:51:33.706788"], ["updated_at", "2018-01-09 22:51:33.706788"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:51:33.708493' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:51:33.708647' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.709849"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.710115"], ["id", 139]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d9d994c0-c62a-491c-97d4-7c5505e0d5e7] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d9d994c0-c62a-491c-97d4-7c5505e0d5e7) from Async(default) in 4.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0e63b270-aa10-4b29-bb49-e6df05fb875f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.714724"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:51:33.715075"], ["updated_at", "2018-01-09 22:51:33.715075"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.716849"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.717086"], ["id", 140]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0e63b270-aa10-4b29-bb49-e6df05fb875f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0e63b270-aa10-4b29-bb49-e6df05fb875f) from Async(default) in 3.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.3ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 315a2e9e-dc7e-4d53-bf33-ffc10950da36) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.732875"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.733469"], ["updated_at", "2018-01-09 22:51:33.733469"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] SQL (0.8ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:51:33.757892"], ["updated_at", "2018-01-09 22:51:33.757892"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:51:33.767874"], ["updated_at", "2018-01-09 22:51:33.767874"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.771446"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.771745"], ["id", 141]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [315a2e9e-dc7e-4d53-bf33-ffc10950da36] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 315a2e9e-dc7e-4d53-bf33-ffc10950da36) from Async(default) in 40.19ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 79371153-cd1f-4176-98b5-d5f9ae6ecaea) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.777722"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.778085"], ["updated_at", "2018-01-09 22:51:33.778085"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:51:33.784174"], ["updated_at", "2018-01-09 22:51:33.784174"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.786434"], ["updated_at", "2018-01-09 22:51:33.786434"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.788508"], ["updated_at", "2018-01-09 22:51:33.788508"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:51:33.791375"], ["updated_at", "2018-01-09 22:51:33.791375"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:51:33.793713"], ["updated_at", "2018-01-09 22:51:33.793713"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.796353"], ["updated_at", "2018-01-09 22:51:33.796353"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.797392"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.797797"], ["id", 142]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [79371153-cd1f-4176-98b5-d5f9ae6ecaea] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 79371153-cd1f-4176-98b5-d5f9ae6ecaea) from Async(default) in 21.6ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:51:33.803799"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:51:33.804190"], ["updated_at", "2018-01-09 22:51:33.804190"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 319f891a-06f2-425c-b0bb-c7ce040bb5c2) to Async(default) at 2018-01-09 22:52:03 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:51:33.806866"], ["status", "success"], ["updated_at", "2018-01-09 22:51:33.807134"], ["id", 143]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 2ccdc452-f3f7-453f-bcd3-7fbd578ff8ea) from Async(default) in 12.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 56798097], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 56798097], ["sis_id", "5e56c6bca9d4139eb685eed5197715e2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:51:33.851765"], ["end_date", "2018-01-30 22:51:33.851905"], ["created_at", "2018-01-09 22:51:33.861489"], ["updated_at", "2018-01-09 22:51:33.861489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 91], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58772407], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58772407], ["sis_id", "6610a497841173ef1d07a6df39dc82ea"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:51:33.873856"], ["end_date", "2018-01-30 22:51:33.873947"], ["created_at", "2018-01-09 22:51:33.874816"], ["updated_at", "2018-01-09 22:51:33.874816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58772407], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 49643397], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 49643397], ["sis_id", "17ad9ccb8343f08c1480b0ecc8b05b90"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:51:33.884895"], ["end_date", "2018-01-30 22:51:33.884987"], ["created_at", "2018-01-09 22:51:33.885987"], ["updated_at", "2018-01-09 22:51:33.885987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 16924970], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 16924970], ["sis_id", "f95070d784fc5229ebc22e5e91c7a7cb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:51:33.889628"], ["end_date", "2018-01-30 22:51:33.889693"], ["created_at", "2018-01-09 22:51:33.890560"], ["updated_at", "2018-01-09 22:51:33.890560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 8591759], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 8591759], ["sis_id", "85de4043802de92fc174852b0844e0a8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:51:33.894577"], ["end_date", "2018-01-30 22:51:33.894643"], ["created_at", "2018-01-09 22:51:33.895471"], ["updated_at", "2018-01-09 22:51:33.895471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (1.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 21631147], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 21631147], ["created_at", "2018-01-09 22:51:33.920832"], ["updated_at", "2018-01-09 22:51:33.920832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (1.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 65198081], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 65198081], ["created_at", "2018-01-09 22:51:33.929243"], ["updated_at", "2018-01-09 22:51:33.929243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 65198081], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26770997], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 26770997], ["created_at", "2018-01-09 22:51:33.936615"], ["updated_at", "2018-01-09 22:51:33.936615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 53157236], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 53157236], ["created_at", "2018-01-09 22:51:33.940885"], ["updated_at", "2018-01-09 22:51:33.940885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 10383733], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 10383733], ["created_at", "2018-01-09 22:51:33.944758"], ["updated_at", "2018-01-09 22:51:33.944758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 46220582], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 46220582], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.949885"], ["updated_at", "2018-01-09 22:51:33.949885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 63], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 45917045], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 45917045], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.955990"], ["updated_at", "2018-01-09 22:51:33.955990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (3.8ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 45917045], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:51:33.978336"], ["updated_at", "2018-01-09 22:51:33.978336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:51:33.989776"], ["updated_at", "2018-01-09 22:51:33.989776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 66], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:51:33.994097"], ["id", 66]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 98582718], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 98582718], ["created_at", "2018-01-09 22:51:34.022304"], ["updated_at", "2018-01-09 22:51:34.022304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 704553], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 704553], ["created_at", "2018-01-09 22:51:34.031526"], ["updated_at", "2018-01-09 22:51:34.031526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 704553], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 36537531], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 36537531], ["created_at", "2018-01-09 22:51:34.038865"], ["updated_at", "2018-01-09 22:51:34.038865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62997925], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62997925], ["created_at", "2018-01-09 22:51:34.042823"], ["updated_at", "2018-01-09 22:51:34.042823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 19023756], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 19023756], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "60678efe52e00d683892beef330abded"], ["created_at", "2018-01-09 22:51:34.047441"], ["updated_at", "2018-01-09 22:51:34.047441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 190], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37837376], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37837376], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "a2afe61da82f6d2aeb6fb4bef70eae17"], ["created_at", "2018-01-09 22:51:34.052966"], ["updated_at", "2018-01-09 22:51:34.052966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37837376], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68185417], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68185417], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "1ddee76abd690a9b8d54d20af3e56a34"], ["created_at", "2018-01-09 22:51:34.068530"], ["updated_at", "2018-01-09 22:51:34.068530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61118561], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61118561], ["name", "Cool Term"], ["start_at", "2018-01-07 22:51:34.074452"], ["end_at", "2018-01-12 22:51:34.074529"], ["workflow_state", "active"], ["sis_id", "14bf45fed50c9b3fb5dc09a787b7650c"], ["created_at", "2018-01-09 22:51:34.076244"], ["updated_at", "2018-01-09 22:51:34.076244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26617935], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26617935], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "inactive"], ["sis_id", "47465301b69b3454538fc90e3aaadc8c"], ["created_at", "2018-01-09 22:51:34.078408"], ["updated_at", "2018-01-09 22:51:34.078408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10227688], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10227688], ["name", "Cool Term"], ["start_at", "2017-11-09 22:51:34.080870"], ["end_at", "2017-12-09 22:51:34.080940"], ["workflow_state", "active"], ["sis_id", "12db078b9953f959dc7b0e652efcc969"], ["created_at", "2018-01-09 22:51:34.082357"], ["updated_at", "2018-01-09 22:51:34.082357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 62114423], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 62114423], ["name", "Cool Term"], ["start_at", "2018-07-09 22:51:34.083537"], ["end_at", "2019-01-09 22:51:34.083601"], ["workflow_state", "active"], ["sis_id", "e0a85ed554be774e92d8569212421324"], ["created_at", "2018-01-09 22:51:34.084753"], ["updated_at", "2018-01-09 22:51:34.084753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:51:34.085754' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:51:34.085858' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:51:34.091550"], ["updated_at", "2018-01-09 22:51:34.091550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:51:32.590124"], ["end_at", "2018-01-12 22:51:32.590296"], ["workflow_state", "active"], ["sis_id", "fbf5ac7a5225d02aa4fc6ce60d0f0d58"], ["created_at", "2018-01-09 22:51:34.097356"], ["updated_at", "2018-01-09 22:51:34.097356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 198], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:51:34.100749"], ["id", 198]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 198], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (3.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 41420920], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 41420920], ["sis_id", "e2443b9780cc9e6b6d315fad05793009"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:51:34.126233"], ["updated_at", "2018-01-09 22:51:34.126233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 45039770], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 45039770], ["sis_id", "f1ff117b36c000d6388f2d1fd09605b2"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:51:34.136208"], ["updated_at", "2018-01-09 22:51:34.136208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 45039770], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 30389180], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 30389180], ["sis_id", "d3fafda0c1b4b282561bd81de444284c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:51:34.143393"], ["updated_at", "2018-01-09 22:51:34.143393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:51:34.151885','2018-01-09 22:51:34.151885'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:51:34.151885','2018-01-09 22:51:34.151885') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:51:34.159534','2018-01-09 22:51:34.159534'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:51:34.159534','2018-01-09 22:51:34.159534') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:51:34.175157','2018-01-09 22:51:34.175157'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:51:34.175157','2018-01-09 22:51:34.175157') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:51:34.183874','2018-01-09 22:51:34.183874'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:51:34.183874','2018-01-09 22:51:34.183874') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:51:34.191064','2018-01-09 22:51:34.191064') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:51:34.201530','2018-01-09 22:51:34.201530'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:51:34.201530','2018-01-09 22:51:34.201530') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:51:34.203406','2018-01-09 22:51:34.203406'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:51:34.203406','2018-01-09 22:51:34.203406') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.5ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d] Performing GoodJob (Job ID: 945af67a-8f71-4400-b5d6-3abba2ddd30d) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.433096"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:52:28.443658"], ["updated_at", "2018-01-09 22:52:28.443658"]] [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.445806"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.446081"], ["id", 144]] [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [945af67a-8f71-4400-b5d6-3abba2ddd30d] Performed GoodJob (Job ID: 945af67a-8f71-4400-b5d6-3abba2ddd30d) from Async(default) in 14.19ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd] Performing BadJob (Job ID: 54f8005a-c597-4c8d-a755-b1f6f532cdcd) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.452362"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:52:28.452665"], ["updated_at", "2018-01-09 22:52:28.452665"]] [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:52:28.454077"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:52:28.454321"], ["id", 145]] [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [54f8005a-c597-4c8d-a755-b1f6f532cdcd] Error performing BadJob (Job ID: 54f8005a-c597-4c8d-a755-b1f6f532cdcd) from Async(default) in 3.66ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99] Performing CanvasSync::Jobs::ReportChecker (Job ID: 35856832-af2a-49be-8086-6f0af722bf99) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.460866"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.461227"], ["updated_at", "2018-01-09 22:52:28.461227"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 146]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [35856832-af2a-49be-8086-6f0af722bf99] Performed CanvasSync::Jobs::ReportChecker (Job ID: 35856832-af2a-49be-8086-6f0af722bf99) from Async(default) in 7.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17] Performing CanvasSync::Jobs::ReportChecker (Job ID: feca9da2-f2d3-4a77-8df5-23da70e51e17) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.473412"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.473826"], ["updated_at", "2018-01-09 22:52:28.473826"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 964432bd-0c8a-4642-b22a-9f3d0a13fb83) to Async(default) at 2018-01-09 22:52:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 147]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feca9da2-f2d3-4a77-8df5-23da70e51e17] Performed CanvasSync::Jobs::ReportChecker (Job ID: feca9da2-f2d3-4a77-8df5-23da70e51e17) from Async(default) in 6.37ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 3058424f-6cc0-4102-a67f-1cbf5523b86f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f]  (2.6ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.484298"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.491603"], ["updated_at", "2018-01-09 22:52:28.491603"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:52:28.495774"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:52:28.496284"], ["id", 148]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [3058424f-6cc0-4102-a67f-1cbf5523b86f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 3058424f-6cc0-4102-a67f-1cbf5523b86f) from Async(default) in 15.0ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: a681137f-af47-4800-a215-33e8940f5419) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.505156"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.505542"], ["updated_at", "2018-01-09 22:52:28.505542"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:52:28.507423"], ["id", 149]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.528094"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.528588"], ["id", 149]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a681137f-af47-4800-a215-33e8940f5419] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: a681137f-af47-4800-a215-33e8940f5419) from Async(default) in 24.98ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08] Performing CanvasSync::Jobs::ReportStarter (Job ID: 15cab314-5ace-457f-a30e-c5cac359ef08) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.533847"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:52:28.534234"], ["updated_at", "2018-01-09 22:52:28.534234"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 679741c4-207b-4d04-b6c4-b6af231856d0) to Async(default) at 2018-01-09 22:52:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.536827"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.537128"], ["id", 150]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [15cab314-5ace-457f-a30e-c5cac359ef08] Performed CanvasSync::Jobs::ReportStarter (Job ID: 15cab314-5ace-457f-a30e-c5cac359ef08) from Async(default) in 4.65ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 8195fc91-d6db-42eb-89e5-8590f1725752) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.553198"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.553634"], ["updated_at", "2018-01-09 22:52:28.553634"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:52:28.567282"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:52:28.567612"], ["id", 151]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8195fc91-d6db-42eb-89e5-8590f1725752] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 8195fc91-d6db-42eb-89e5-8590f1725752) from Async(default) in 16.79ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 28123815], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 28123815], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "a4306dc56ee7ec4a7adc1d6a0715c88f"], ["created_at", "2018-01-09 22:52:28.587478"], ["updated_at", "2018-01-09 22:52:28.587478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91809162], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 91809162], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "3ce87f9eccb7b7b511df4e194f21c5e7"], ["created_at", "2018-01-09 22:52:28.602974"], ["updated_at", "2018-01-09 22:52:28.602974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55047751], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 55047751], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "inactive"], ["sis_id", "03bc5809bf5598aeb4ede9f2d0b085fb"], ["created_at", "2018-01-09 22:52:28.605592"], ["updated_at", "2018-01-09 22:52:28.605592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.607137"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:52:28.607522"], ["updated_at", "2018-01-09 22:52:28.607522"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5] Term Load (1.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:52:28.610064' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:52:28.610254' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.612839"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.613235"], ["id", 152]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: cd1f10d0-c5f7-4fd4-a0b0-2ab9f685dae5) from Async(default) in 7.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 8cef8e62-3a00-4b26-9fda-715d9dabe2d6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.618242"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:52:28.618570"], ["updated_at", "2018-01-09 22:52:28.618570"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.620272"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.620602"], ["id", 153]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [8cef8e62-3a00-4b26-9fda-715d9dabe2d6] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 8cef8e62-3a00-4b26-9fda-715d9dabe2d6) from Async(default) in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.630336"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.630712"], ["updated_at", "2018-01-09 22:52:28.630712"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] SQL (0.9ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:52:28.648462"], ["updated_at", "2018-01-09 22:52:28.648462"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] SQL (1.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:52:28.665549"], ["updated_at", "2018-01-09 22:52:28.665549"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.670533"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.670861"], ["id", 154]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 6c8f1c99-43f5-4c64-b76b-b69e4bf0b54f) from Async(default) in 41.98ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 3e887c9e-7c9b-4223-a32c-cab43aeef0d2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.677986"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.678351"], ["updated_at", "2018-01-09 22:52:28.678351"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:52:28.684101"], ["updated_at", "2018-01-09 22:52:28.684101"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.686314"], ["updated_at", "2018-01-09 22:52:28.686314"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.688989"], ["updated_at", "2018-01-09 22:52:28.688989"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:52:28.692918"], ["updated_at", "2018-01-09 22:52:28.692918"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:52:28.696094"], ["updated_at", "2018-01-09 22:52:28.696094"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.699266"], ["updated_at", "2018-01-09 22:52:28.699266"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.700373"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.700667"], ["id", 155]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3e887c9e-7c9b-4223-a32c-cab43aeef0d2] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 3e887c9e-7c9b-4223-a32c-cab43aeef0d2) from Async(default) in 24.07ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 038e4ee8-6125-4126-bf11-69194f0f3546) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546]  (1.8ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:52:28.707505"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:52:28.711082"], ["updated_at", "2018-01-09 22:52:28.711082"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f201bcd3-97e2-43b1-b55b-2d83578a2268) to Async(default) at 2018-01-09 22:52:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:52:28.718265"], ["status", "success"], ["updated_at", "2018-01-09 22:52:28.718626"], ["id", 156]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [038e4ee8-6125-4126-bf11-69194f0f3546] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 038e4ee8-6125-4126-bf11-69194f0f3546) from Async(default) in 12.64ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.9ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74977974], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74977974], ["sis_id", "552da00a31b336ecdf65b7c1d3a34251"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:52:28.747669"], ["end_date", "2018-01-30 22:52:28.747767"], ["created_at", "2018-01-09 22:52:28.750791"], ["updated_at", "2018-01-09 22:52:28.750791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 100], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.6ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 70946713], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 70946713], ["sis_id", "da92a28a07d199156fb5308af5480690"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:52:28.766899"], ["end_date", "2018-01-30 22:52:28.767145"], ["created_at", "2018-01-09 22:52:28.768489"], ["updated_at", "2018-01-09 22:52:28.768489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 70946713], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37141558], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37141558], ["sis_id", "5fdbf5058efe517e11333c5b7e04cc86"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:52:28.776063"], ["end_date", "2018-01-30 22:52:28.776138"], ["created_at", "2018-01-09 22:52:28.778102"], ["updated_at", "2018-01-09 22:52:28.778102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 3347309], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 3347309], ["sis_id", "3de53b8a45c5f4423879b30b28491d9a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:52:28.781895"], ["end_date", "2018-01-30 22:52:28.781972"], ["created_at", "2018-01-09 22:52:28.782979"], ["updated_at", "2018-01-09 22:52:28.782979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90849666], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 90849666], ["sis_id", "427ee1e4a72c939f7f6a7795e0e74453"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:52:28.787100"], ["end_date", "2018-01-30 22:52:28.787209"], ["created_at", "2018-01-09 22:52:28.788384"], ["updated_at", "2018-01-09 22:52:28.788384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (3.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 57392130], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 57392130], ["created_at", "2018-01-09 22:52:28.809829"], ["updated_at", "2018-01-09 22:52:28.809829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (1.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 78], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82782084], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 82782084], ["created_at", "2018-01-09 22:52:28.825626"], ["updated_at", "2018-01-09 22:52:28.825626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82782084], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 38189478], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 38189478], ["created_at", "2018-01-09 22:52:28.834413"], ["updated_at", "2018-01-09 22:52:28.834413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 40174882], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 40174882], ["created_at", "2018-01-09 22:52:28.839237"], ["updated_at", "2018-01-09 22:52:28.839237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 16468354], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 16468354], ["created_at", "2018-01-09 22:52:28.843787"], ["updated_at", "2018-01-09 22:52:28.843787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 31590593], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 31590593], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.851191"], ["updated_at", "2018-01-09 22:52:28.851191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 69], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (1.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43259277], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 43259277], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.861930"], ["updated_at", "2018-01-09 22:52:28.861930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.6ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43259277], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:52:28.880170"], ["updated_at", "2018-01-09 22:52:28.880170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:52:28.891518"], ["updated_at", "2018-01-09 22:52:28.891518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:52:28.896757"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 59377781], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 59377781], ["created_at", "2018-01-09 22:52:28.926755"], ["updated_at", "2018-01-09 22:52:28.926755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 78], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 86581003], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 86581003], ["created_at", "2018-01-09 22:52:28.935538"], ["updated_at", "2018-01-09 22:52:28.935538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 86581003], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 29039077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 29039077], ["created_at", "2018-01-09 22:52:28.943519"], ["updated_at", "2018-01-09 22:52:28.943519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 22114391], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 22114391], ["created_at", "2018-01-09 22:52:28.948257"], ["updated_at", "2018-01-09 22:52:28.948257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90609458], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 90609458], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "3d2801585cbf66176bc38a2c30fbc50f"], ["created_at", "2018-01-09 22:52:28.953061"], ["updated_at", "2018-01-09 22:52:28.953061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 208], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 14508101], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 14508101], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "9e3f81ff7527c4761e5f0986ab370603"], ["created_at", "2018-01-09 22:52:28.959711"], ["updated_at", "2018-01-09 22:52:28.959711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 14508101], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 77054202], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 77054202], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "40d3f05a4cc7bd3304f1c1668fb20786"], ["created_at", "2018-01-09 22:52:28.975881"], ["updated_at", "2018-01-09 22:52:28.975881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34600784], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34600784], ["name", "Cool Term"], ["start_at", "2018-01-07 22:52:28.981211"], ["end_at", "2018-01-12 22:52:28.981296"], ["workflow_state", "active"], ["sis_id", "e294013971f95093eec3a6c9bf7635dc"], ["created_at", "2018-01-09 22:52:28.982644"], ["updated_at", "2018-01-09 22:52:28.982644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25798548], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25798548], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "inactive"], ["sis_id", "6d6f2c0c339256e4d3537e3847e446b7"], ["created_at", "2018-01-09 22:52:28.986109"], ["updated_at", "2018-01-09 22:52:28.986109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10951888], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10951888], ["name", "Cool Term"], ["start_at", "2017-11-09 22:52:28.987172"], ["end_at", "2017-12-09 22:52:28.987258"], ["workflow_state", "active"], ["sis_id", "c66b6b20e5238a3e4eccc755fda4a6ef"], ["created_at", "2018-01-09 22:52:28.988519"], ["updated_at", "2018-01-09 22:52:28.988519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 57556275], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 57556275], ["name", "Cool Term"], ["start_at", "2018-07-09 22:52:28.989681"], ["end_at", "2019-01-09 22:52:28.989730"], ["workflow_state", "active"], ["sis_id", "3e8ba259f48a5e4b810f1f5ac0eb19e4"], ["created_at", "2018-01-09 22:52:28.990710"], ["updated_at", "2018-01-09 22:52:28.990710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:52:28.991934' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:52:28.992076' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:52:28.997850"], ["updated_at", "2018-01-09 22:52:28.997850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:52:27.652084"], ["end_at", "2018-01-12 22:52:27.652251"], ["workflow_state", "active"], ["sis_id", "6bcfd7b40c0c33d42310b1684123f08b"], ["created_at", "2018-01-09 22:52:29.003176"], ["updated_at", "2018-01-09 22:52:29.003176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 216], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:52:29.006302"], ["id", 216]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 216], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 49035481], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 49035481], ["sis_id", "bacdc12708735e9a3b8ec80ba24a4163"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:52:29.032310"], ["updated_at", "2018-01-09 22:52:29.032310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (1.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 78], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 59865825], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 59865825], ["sis_id", "202222ba5ebf93f8da93532bc3b77784"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:52:29.041296"], ["updated_at", "2018-01-09 22:52:29.041296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 59865825], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 79565224], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 79565224], ["sis_id", "0f78e9703ac3b85bc4c8f1214093c7fd"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:52:29.048576"], ["updated_at", "2018-01-09 22:52:29.048576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:52:29.054651','2018-01-09 22:52:29.054651'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:52:29.054651','2018-01-09 22:52:29.054651') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:52:29.061006','2018-01-09 22:52:29.061006'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:52:29.061006','2018-01-09 22:52:29.061006') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:52:29.069266','2018-01-09 22:52:29.069266'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:52:29.069266','2018-01-09 22:52:29.069266') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (1.9ms) SELECT COUNT(*) FROM "enrollments"  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:52:29.084793','2018-01-09 22:52:29.084793'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:52:29.084793','2018-01-09 22:52:29.084793') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:52:29.092621','2018-01-09 22:52:29.092621') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:52:29.101627','2018-01-09 22:52:29.101627'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:52:29.101627','2018-01-09 22:52:29.101627') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:52:29.103146','2018-01-09 22:52:29.103146'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:52:29.103146','2018-01-09 22:52:29.103146') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c] Performing GoodJob (Job ID: 135a30b7-3786-42f5-9a71-fc78b813e30c) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c] SQL (0.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.518501"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:53:25.529034"], ["updated_at", "2018-01-09 22:53:25.529034"]] [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.531614"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.531901"], ["id", 157]] [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [135a30b7-3786-42f5-9a71-fc78b813e30c] Performed GoodJob (Job ID: 135a30b7-3786-42f5-9a71-fc78b813e30c) from Async(default) in 14.82ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.9ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446] Performing BadJob (Job ID: 483318b1-dfc1-4687-8a16-3f51939ed446) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.547554"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:53:25.547931"], ["updated_at", "2018-01-09 22:53:25.547931"]] [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:53:25.549490"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:53:25.549753"], ["id", 158]] [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [483318b1-dfc1-4687-8a16-3f51939ed446] Error performing BadJob (Job ID: 483318b1-dfc1-4687-8a16-3f51939ed446) from Async(default) in 3.99ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15] Performing CanvasSync::Jobs::ReportChecker (Job ID: f8612044-1770-4884-96c9-9ceb9a879e15) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.555809"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.557443"], ["updated_at", "2018-01-09 22:53:25.557443"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 159]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f8612044-1770-4884-96c9-9ceb9a879e15] Performed CanvasSync::Jobs::ReportChecker (Job ID: f8612044-1770-4884-96c9-9ceb9a879e15) from Async(default) in 8.72ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef] Performing CanvasSync::Jobs::ReportChecker (Job ID: 5189d277-af56-4f8a-8158-f4f09200a4ef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.567688"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.567999"], ["updated_at", "2018-01-09 22:53:25.567999"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8a156db5-de14-47d1-8e17-f23b8f14e591) to Async(default) at 2018-01-09 22:53:55 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 160]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5189d277-af56-4f8a-8158-f4f09200a4ef] Performed CanvasSync::Jobs::ReportChecker (Job ID: 5189d277-af56-4f8a-8158-f4f09200a4ef) from Async(default) in 5.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746] Performing CanvasSync::Jobs::ReportChecker (Job ID: b164b2e8-18da-4c2e-810c-d3e75a9ae746) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.576130"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.576480"], ["updated_at", "2018-01-09 22:53:25.576480"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:53:25.578559"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:53:25.578804"], ["id", 161]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b164b2e8-18da-4c2e-810c-d3e75a9ae746] Error performing CanvasSync::Jobs::ReportChecker (Job ID: b164b2e8-18da-4c2e-810c-d3e75a9ae746) from Async(default) in 7.01ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.6ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 240445b7-333c-4dc3-9b50-07cbb05fd7b2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.591088"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.591513"], ["updated_at", "2018-01-09 22:53:25.591513"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:53:25.593502"], ["id", 162]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.615413"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.615771"], ["id", 162]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [240445b7-333c-4dc3-9b50-07cbb05fd7b2] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 240445b7-333c-4dc3-9b50-07cbb05fd7b2) from Async(default) in 26.05ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34] Performing CanvasSync::Jobs::ReportStarter (Job ID: 0fe80e2b-53bc-4542-b5f1-17bc19e61c34) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.620198"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:53:25.620595"], ["updated_at", "2018-01-09 22:53:25.620595"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2ea33314-3c2c-4c4b-95b4-2643671b7018) to Async(default) at 2018-01-09 22:53:55 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.623223"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.623513"], ["id", 163]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0fe80e2b-53bc-4542-b5f1-17bc19e61c34] Performed CanvasSync::Jobs::ReportStarter (Job ID: 0fe80e2b-53bc-4542-b5f1-17bc19e61c34) from Async(default) in 7.73ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 81087b0f-a5e3-4580-abb3-83b9120c70c8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.637059"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.637544"], ["updated_at", "2018-01-09 22:53:25.637544"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:53:25.650143"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:53:25.650531"], ["id", 164]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [81087b0f-a5e3-4580-abb3-83b9120c70c8] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 81087b0f-a5e3-4580-abb3-83b9120c70c8) from Async(default) in 15.52ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (7.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60130453], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60130453], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "95916ae2a0ba1b7cabc5c7c527e432c9"], ["created_at", "2018-01-09 22:53:25.674769"], ["updated_at", "2018-01-09 22:53:25.674769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21330555], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21330555], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "fed8e4a89e3cbaf79e324161460a8ed4"], ["created_at", "2018-01-09 22:53:25.677892"], ["updated_at", "2018-01-09 22:53:25.677892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 58642781], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 58642781], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "inactive"], ["sis_id", "f57e45308ec132a95248a34d85c4db7b"], ["created_at", "2018-01-09 22:53:25.684834"], ["updated_at", "2018-01-09 22:53:25.684834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: aa7715ba-f571-4578-a4b6-114afb0002db) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.687722"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:53:25.688132"], ["updated_at", "2018-01-09 22:53:25.688132"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:53:25.690145' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:53:25.690319' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.691654"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.691974"], ["id", 165]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [aa7715ba-f571-4578-a4b6-114afb0002db] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: aa7715ba-f571-4578-a4b6-114afb0002db) from Async(default) in 5.73ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7a444117-126d-4b12-81c2-04203dfe4369) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.696519"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:53:25.696857"], ["updated_at", "2018-01-09 22:53:25.696857"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.698429"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.698665"], ["id", 166]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a444117-126d-4b12-81c2-04203dfe4369] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7a444117-126d-4b12-81c2-04203dfe4369) from Async(default) in 3.53ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 421b6b44-87d2-44f0-b337-4490a1c808d3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.706378"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.706770"], ["updated_at", "2018-01-09 22:53:25.706770"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] SQL (0.9ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:53:25.724370"], ["updated_at", "2018-01-09 22:53:25.724370"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:53:25.741794"], ["updated_at", "2018-01-09 22:53:25.741794"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.745864"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.746183"], ["id", 167]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [421b6b44-87d2-44f0-b337-4490a1c808d3] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 421b6b44-87d2-44f0-b337-4490a1c808d3) from Async(default) in 42.45ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 3c24cf8e-c13a-43c1-8708-80e6be0864fb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.754705"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.755122"], ["updated_at", "2018-01-09 22:53:25.755122"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:53:25.760756"], ["updated_at", "2018-01-09 22:53:25.760756"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.762892"], ["updated_at", "2018-01-09 22:53:25.762892"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.765048"], ["updated_at", "2018-01-09 22:53:25.765048"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:53:25.767745"], ["updated_at", "2018-01-09 22:53:25.767745"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:53:25.770326"], ["updated_at", "2018-01-09 22:53:25.770326"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.773254"], ["updated_at", "2018-01-09 22:53:25.773254"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.774280"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.774613"], ["id", 168]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3c24cf8e-c13a-43c1-8708-80e6be0864fb] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 3c24cf8e-c13a-43c1-8708-80e6be0864fb) from Async(default) in 21.27ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 56db71bd-1d3d-48ca-94cd-567a1bb0b142) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:53:25.781708"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:53:25.782192"], ["updated_at", "2018-01-09 22:53:25.782192"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142]  (1.7ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ff408683-8656-4a4f-af1c-355551019cb7) to Async(default) at 2018-01-09 22:53:55 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:53:25.792314"], ["status", "success"], ["updated_at", "2018-01-09 22:53:25.792727"], ["id", 169]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [56db71bd-1d3d-48ca-94cd-567a1bb0b142] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 56db71bd-1d3d-48ca-94cd-567a1bb0b142) from Async(default) in 12.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 99147272], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "canvas_role_id", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_admin_id", 99147272], ["canvas_role_id", 39199182], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.799874"], ["updated_at", "2018-01-09 22:53:25.799874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2835894], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "canvas_role_id", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_admin_id", 2835894], ["canvas_role_id", 13543467], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.811468"], ["updated_at", "2018-01-09 22:53:25.811468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2835894], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "canvas_role_id", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_admin_id", 2], ["canvas_role_id", 20212004], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.822853"], ["updated_at", "2018-01-09 22:53:25.822853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29090818], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 29090818], ["sis_id", "bc9727312504371f9954fb5f8158402a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:53:25.844288"], ["end_date", "2018-01-30 22:53:25.844405"], ["created_at", "2018-01-09 22:53:25.847439"], ["updated_at", "2018-01-09 22:53:25.847439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 109], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1327540], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1327540], ["sis_id", "123e3b9f93f17894c621ae5ddf1721c3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:53:25.856214"], ["end_date", "2018-01-30 22:53:25.856293"], ["created_at", "2018-01-09 22:53:25.857146"], ["updated_at", "2018-01-09 22:53:25.857146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.7ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1327540], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58441262], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58441262], ["sis_id", "597eb43331752c472f91ac71d50ad5a4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:53:25.864062"], ["end_date", "2018-01-30 22:53:25.864128"], ["created_at", "2018-01-09 22:53:25.864938"], ["updated_at", "2018-01-09 22:53:25.864938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 49483321], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 49483321], ["sis_id", "f645586b138cd09d1e3f6b9d4146f67e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:53:25.868591"], ["end_date", "2018-01-30 22:53:25.868655"], ["created_at", "2018-01-09 22:53:25.869432"], ["updated_at", "2018-01-09 22:53:25.869432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 8595442], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 8595442], ["sis_id", "75c32701373f85f2d56aad04baae3b6a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:53:25.873312"], ["end_date", "2018-01-30 22:53:25.873380"], ["created_at", "2018-01-09 22:53:25.874240"], ["updated_at", "2018-01-09 22:53:25.874240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Enrollment Exists (1.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87616245], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87616245], ["created_at", "2018-01-09 22:53:25.900207"], ["updated_at", "2018-01-09 22:53:25.900207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3881106], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 3881106], ["created_at", "2018-01-09 22:53:25.910117"], ["updated_at", "2018-01-09 22:53:25.910117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3881106], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 83549804], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 83549804], ["created_at", "2018-01-09 22:53:25.917558"], ["updated_at", "2018-01-09 22:53:25.917558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 43736287], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 43736287], ["created_at", "2018-01-09 22:53:25.925886"], ["updated_at", "2018-01-09 22:53:25.925886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 97942741], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 97942741], ["created_at", "2018-01-09 22:53:25.929874"], ["updated_at", "2018-01-09 22:53:25.929874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43734686], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 43734686], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.934129"], ["updated_at", "2018-01-09 22:53:25.934129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 75], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 28234571], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 28234571], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.941911"], ["updated_at", "2018-01-09 22:53:25.941911"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.7ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 28234571], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:53:25.963547"], ["updated_at", "2018-01-09 22:53:25.963547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:53:25.974678"], ["updated_at", "2018-01-09 22:53:25.974678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 78], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:53:25.979166"], ["id", 78]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 78], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (1.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 88470009], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 88470009], ["created_at", "2018-01-09 22:53:26.009142"], ["updated_at", "2018-01-09 22:53:26.009142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38060718], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 38060718], ["created_at", "2018-01-09 22:53:26.017923"], ["updated_at", "2018-01-09 22:53:26.017923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38060718], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 81292432], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 81292432], ["created_at", "2018-01-09 22:53:26.026113"], ["updated_at", "2018-01-09 22:53:26.026113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76587030], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76587030], ["created_at", "2018-01-09 22:53:26.030450"], ["updated_at", "2018-01-09 22:53:26.030450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89901732], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89901732], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "147247277b9f8547e6f160a9297d5138"], ["created_at", "2018-01-09 22:53:26.035467"], ["updated_at", "2018-01-09 22:53:26.035467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 226], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41649855], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41649855], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "0c53fd4205620c8e71c390a7d9feea57"], ["created_at", "2018-01-09 22:53:26.041344"], ["updated_at", "2018-01-09 22:53:26.041344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41649855], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3139332], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 3139332], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "01ed8356b65733948516ad2cfa9583ad"], ["created_at", "2018-01-09 22:53:26.057363"], ["updated_at", "2018-01-09 22:53:26.057363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72420773], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72420773], ["name", "Cool Term"], ["start_at", "2018-01-07 22:53:26.063043"], ["end_at", "2018-01-12 22:53:26.063132"], ["workflow_state", "active"], ["sis_id", "88041773ab4b10b0cf199856d470ed8e"], ["created_at", "2018-01-09 22:53:26.064389"], ["updated_at", "2018-01-09 22:53:26.064389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60207162], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60207162], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "inactive"], ["sis_id", "2e687d29409bd11c30905b4dff1ecf9f"], ["created_at", "2018-01-09 22:53:26.067647"], ["updated_at", "2018-01-09 22:53:26.067647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25863190], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25863190], ["name", "Cool Term"], ["start_at", "2017-11-09 22:53:26.068594"], ["end_at", "2017-12-09 22:53:26.068654"], ["workflow_state", "active"], ["sis_id", "e92cfd593f644eff07f4b999fa486950"], ["created_at", "2018-01-09 22:53:26.069640"], ["updated_at", "2018-01-09 22:53:26.069640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34237544], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34237544], ["name", "Cool Term"], ["start_at", "2018-07-09 22:53:26.070684"], ["end_at", "2019-01-09 22:53:26.070739"], ["workflow_state", "active"], ["sis_id", "68cda821b6e5f956389ba1cdaa489b40"], ["created_at", "2018-01-09 22:53:26.071892"], ["updated_at", "2018-01-09 22:53:26.071892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:53:26.073217' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:53:26.073348' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:53:26.079926"], ["updated_at", "2018-01-09 22:53:26.079926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:53:24.702598"], ["end_at", "2018-01-12 22:53:24.702774"], ["workflow_state", "active"], ["sis_id", "f458c5a3ee095cef0d9fbbb1f07334de"], ["created_at", "2018-01-09 22:53:26.085690"], ["updated_at", "2018-01-09 22:53:26.085690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 234], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:53:26.088704"], ["id", 234]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 234], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 10959527], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 10959527], ["sis_id", "133a601303ae5f9cded76ad34001420c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:53:26.111769"], ["updated_at", "2018-01-09 22:53:26.111769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 86005633], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 86005633], ["sis_id", "9380418e0615db02ff311aee96f487c6"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:53:26.121233"], ["updated_at", "2018-01-09 22:53:26.121233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 86005633], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 30642707], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 30642707], ["sis_id", "fce11e360c263ce2941d0fdcadabcb8e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:53:26.129176"], ["updated_at", "2018-01-09 22:53:26.129176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:53:26.135820','2018-01-09 22:53:26.135820'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:53:26.135820','2018-01-09 22:53:26.135820') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:53:26.142340','2018-01-09 22:53:26.142340'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:53:26.142340','2018-01-09 22:53:26.142340') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:53:26.149199','2018-01-09 22:53:26.149199'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:53:26.149199','2018-01-09 22:53:26.149199') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:53:26.164470','2018-01-09 22:53:26.164470'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:53:26.164470','2018-01-09 22:53:26.164470') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:53:26.173401','2018-01-09 22:53:26.173401') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:53:26.186053','2018-01-09 22:53:26.186053'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:53:26.186053','2018-01-09 22:53:26.186053') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:53:26.187663','2018-01-09 22:53:26.187663'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:53:26.187663','2018-01-09 22:53:26.187663') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910] Performing GoodJob (Job ID: 18a6d070-416d-42b8-a46c-474cabd55910) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.381448"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:55:15.392624"], ["updated_at", "2018-01-09 22:55:15.392624"]] [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.394823"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.395135"], ["id", 170]] [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [18a6d070-416d-42b8-a46c-474cabd55910] Performed GoodJob (Job ID: 18a6d070-416d-42b8-a46c-474cabd55910) from Async(default) in 15.15ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5] Performing BadJob (Job ID: 72507046-0db6-4e57-8c6d-3b87b4fd86d5) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.401829"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:55:15.402167"], ["updated_at", "2018-01-09 22:55:15.402167"]] [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:55:15.403474"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:55:15.403697"], ["id", 171]] [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [72507046-0db6-4e57-8c6d-3b87b4fd86d5] Error performing BadJob (Job ID: 72507046-0db6-4e57-8c6d-3b87b4fd86d5) from Async(default) in 3.72ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4] Performing CanvasSync::Jobs::ReportChecker (Job ID: c79ade50-8c13-4e85-8c84-3feaebe724c4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.410230"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.410707"], ["updated_at", "2018-01-09 22:55:15.410707"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 172]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c79ade50-8c13-4e85-8c84-3feaebe724c4] Performed CanvasSync::Jobs::ReportChecker (Job ID: c79ade50-8c13-4e85-8c84-3feaebe724c4) from Async(default) in 16.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4544eb53-6bfd-41ab-a34f-5763e2552db0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.430196"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.430607"], ["updated_at", "2018-01-09 22:55:15.430607"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c6d749ef-9ac6-465c-8837-378573a80572) to Async(default) at 2018-01-09 22:55:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 173]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4544eb53-6bfd-41ab-a34f-5763e2552db0] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4544eb53-6bfd-41ab-a34f-5763e2552db0) from Async(default) in 6.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1a76f110-3bad-4d4e-a986-5d5d20fcbd70) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.439851"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.440210"], ["updated_at", "2018-01-09 22:55:15.440210"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:55:15.442719"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:55:15.443026"], ["id", 174]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1a76f110-3bad-4d4e-a986-5d5d20fcbd70] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 1a76f110-3bad-4d4e-a986-5d5d20fcbd70) from Async(default) in 5.11ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: f20f6e45-54c3-4774-a1ab-05065c3e740f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.448242"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.448582"], ["updated_at", "2018-01-09 22:55:15.448582"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:55:15.450748"], ["id", 175]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.487346"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.487860"], ["id", 175]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f20f6e45-54c3-4774-a1ab-05065c3e740f] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: f20f6e45-54c3-4774-a1ab-05065c3e740f) from Async(default) in 42.42ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b] Performing CanvasSync::Jobs::ReportStarter (Job ID: 38201b24-aa3d-4354-93ed-1f7be7dfb13b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.494582"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:55:15.495062"], ["updated_at", "2018-01-09 22:55:15.495062"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5b4a15a1-d99f-4132-bbf2-72aa461d364f) to Async(default) at 2018-01-09 22:55:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.498116"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.498413"], ["id", 176]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [38201b24-aa3d-4354-93ed-1f7be7dfb13b] Performed CanvasSync::Jobs::ReportStarter (Job ID: 38201b24-aa3d-4354-93ed-1f7be7dfb13b) from Async(default) in 5.24ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 07d98a9a-ee42-46b8-8630-2e2be0b0d124) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.506364"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.506777"], ["updated_at", "2018-01-09 22:55:15.506777"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:55:15.519010"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:55:15.519500"], ["id", 177]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [07d98a9a-ee42-46b8-8630-2e2be0b0d124] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 07d98a9a-ee42-46b8-8630-2e2be0b0d124) from Async(default) in 15.5ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (7.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66673106], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66673106], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "a343669ead4c87d53e20b1ea5e7cb9fb"], ["created_at", "2018-01-09 22:55:15.552828"], ["updated_at", "2018-01-09 22:55:15.552828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 86660104], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 86660104], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "bdbbf6d293799200ac2c52b342918029"], ["created_at", "2018-01-09 22:55:15.556099"], ["updated_at", "2018-01-09 22:55:15.556099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35744555], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35744555], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "inactive"], ["sis_id", "2d49589c398952ec92e648bf5af96ef3"], ["created_at", "2018-01-09 22:55:15.558539"], ["updated_at", "2018-01-09 22:55:15.558539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9c869c9b-4f51-4720-a1b1-35b2ec38cdca) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.560027"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:55:15.560431"], ["updated_at", "2018-01-09 22:55:15.560431"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:55:15.562692' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:55:15.562883' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.564214"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.564516"], ["id", 178]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9c869c9b-4f51-4720-a1b1-35b2ec38cdca] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9c869c9b-4f51-4720-a1b1-35b2ec38cdca) from Async(default) in 5.84ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 60d59edd-fc2f-4e83-b84d-8a78db287f79) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.569243"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:55:15.569616"], ["updated_at", "2018-01-09 22:55:15.569616"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.571510"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.571767"], ["id", 179]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [60d59edd-fc2f-4e83-b84d-8a78db287f79] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 60d59edd-fc2f-4e83-b84d-8a78db287f79) from Async(default) in 3.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: a9ccedb3-4d20-4b67-9e5c-f8428b3777ab) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.581468"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.581955"], ["updated_at", "2018-01-09 22:55:15.581955"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] SQL (2.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:55:15.597962"], ["updated_at", "2018-01-09 22:55:15.597962"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:55:15.615065"], ["updated_at", "2018-01-09 22:55:15.615065"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] SQL (1.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.619356"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.619688"], ["id", 180]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a9ccedb3-4d20-4b67-9e5c-f8428b3777ab] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: a9ccedb3-4d20-4b67-9e5c-f8428b3777ab) from Async(default) in 40.94ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: c310fcc7-b7aa-499a-a009-48e555914829) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.627168"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.627537"], ["updated_at", "2018-01-09 22:55:15.627537"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:55:15.633644"], ["updated_at", "2018-01-09 22:55:15.633644"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.636389"], ["updated_at", "2018-01-09 22:55:15.636389"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.638832"], ["updated_at", "2018-01-09 22:55:15.638832"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:55:15.641712"], ["updated_at", "2018-01-09 22:55:15.641712"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:55:15.643958"], ["updated_at", "2018-01-09 22:55:15.643958"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.646651"], ["updated_at", "2018-01-09 22:55:15.646651"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.647623"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.647913"], ["id", 181]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c310fcc7-b7aa-499a-a009-48e555914829] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: c310fcc7-b7aa-499a-a009-48e555914829) from Async(default) in 22.04ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 73950b8d-235d-43d5-9fdf-9568349c96d4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:55:15.653663"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:55:15.654232"], ["updated_at", "2018-01-09 22:55:15.654232"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3ad418f4-3255-467e-9f78-882ec1890721) to Async(default) at 2018-01-09 22:55:45 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4]  (1.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:55:15.657668"], ["status", "success"], ["updated_at", "2018-01-09 22:55:15.664013"], ["id", 182]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [73950b8d-235d-43d5-9fdf-9568349c96d4] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 73950b8d-235d-43d5-9fdf-9568349c96d4) from Async(default) in 14.23ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 87199973], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 87199973], ["sis_id", "d25b211a6f4430e6b7deb90edd2837eb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:55:15.697247"], ["end_date", "2018-01-30 22:55:15.697347"], ["created_at", "2018-01-09 22:55:15.699975"], ["updated_at", "2018-01-09 22:55:15.699975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 118], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13280654], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 13280654], ["sis_id", "c3a01e8912c172a9c90f0b3e2cabc667"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:55:15.717158"], ["end_date", "2018-01-30 22:55:15.717242"], ["created_at", "2018-01-09 22:55:15.718212"], ["updated_at", "2018-01-09 22:55:15.718212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (1.4ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13280654], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37494884], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37494884], ["sis_id", "5eefa4eef87ada8c3cd8ca5d40ebc643"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:55:15.728904"], ["end_date", "2018-01-30 22:55:15.728986"], ["created_at", "2018-01-09 22:55:15.729997"], ["updated_at", "2018-01-09 22:55:15.729997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 55025712], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 55025712], ["sis_id", "8ca130e1f05452b8cd62ae8e252b853a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:55:15.734374"], ["end_date", "2018-01-30 22:55:15.734446"], ["created_at", "2018-01-09 22:55:15.735357"], ["updated_at", "2018-01-09 22:55:15.735357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6848824], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6848824], ["sis_id", "d5479e8ac4e0d60bca64f6848ab1db18"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:55:15.739687"], ["end_date", "2018-01-30 22:55:15.739771"], ["created_at", "2018-01-09 22:55:15.740678"], ["updated_at", "2018-01-09 22:55:15.740678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 70361420], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 70361420], ["created_at", "2018-01-09 22:55:15.768318"], ["updated_at", "2018-01-09 22:55:15.768318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 92], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 97434838], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 97434838], ["created_at", "2018-01-09 22:55:15.777341"], ["updated_at", "2018-01-09 22:55:15.777341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 97434838], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 92831955], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 92831955], ["created_at", "2018-01-09 22:55:15.785075"], ["updated_at", "2018-01-09 22:55:15.785075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 36124521], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 36124521], ["created_at", "2018-01-09 22:55:15.790187"], ["updated_at", "2018-01-09 22:55:15.790187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 35147255], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 35147255], ["created_at", "2018-01-09 22:55:15.794385"], ["updated_at", "2018-01-09 22:55:15.794385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 84117641], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 84117641], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.799668"], ["updated_at", "2018-01-09 22:55:15.799668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 81], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 93117915], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 93117915], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.805444"], ["updated_at", "2018-01-09 22:55:15.805444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (3.0ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 93117915], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:55:15.828714"], ["updated_at", "2018-01-09 22:55:15.828714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:55:15.839924"], ["updated_at", "2018-01-09 22:55:15.839924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 84], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:55:15.844328"], ["id", 84]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 84], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 37567934], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 37567934], ["created_at", "2018-01-09 22:55:15.873520"], ["updated_at", "2018-01-09 22:55:15.873520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 92], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 34515784], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 34515784], ["created_at", "2018-01-09 22:55:15.880769"], ["updated_at", "2018-01-09 22:55:15.880769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 34515784], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 8743566], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 8743566], ["created_at", "2018-01-09 22:55:15.888233"], ["updated_at", "2018-01-09 22:55:15.888233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 56121658], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 56121658], ["created_at", "2018-01-09 22:55:15.892444"], ["updated_at", "2018-01-09 22:55:15.892444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79532560], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 79532560], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "cca472915d2082398e90fd96348964af"], ["created_at", "2018-01-09 22:55:15.897113"], ["updated_at", "2018-01-09 22:55:15.897113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 244], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21004921], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21004921], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "bc6774edf23a437a52dd455c2df44a88"], ["created_at", "2018-01-09 22:55:15.902780"], ["updated_at", "2018-01-09 22:55:15.902780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21004921], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25129953], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25129953], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "8d3c76f10ed8823100539eae12d003d3"], ["created_at", "2018-01-09 22:55:15.911128"], ["updated_at", "2018-01-09 22:55:15.911128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63167156], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63167156], ["name", "Cool Term"], ["start_at", "2018-01-07 22:55:15.923882"], ["end_at", "2018-01-12 22:55:15.923972"], ["workflow_state", "active"], ["sis_id", "7d1c3144994010c925a67c47e64252f2"], ["created_at", "2018-01-09 22:55:15.925648"], ["updated_at", "2018-01-09 22:55:15.925648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94722133], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94722133], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "inactive"], ["sis_id", "34ff934220f2cd6c561b38ffac9e8834"], ["created_at", "2018-01-09 22:55:15.927763"], ["updated_at", "2018-01-09 22:55:15.927763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18792629], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 18792629], ["name", "Cool Term"], ["start_at", "2017-11-09 22:55:15.930110"], ["end_at", "2017-12-09 22:55:15.930174"], ["workflow_state", "active"], ["sis_id", "63307f67a31882562ef2214169a153c6"], ["created_at", "2018-01-09 22:55:15.931314"], ["updated_at", "2018-01-09 22:55:15.931314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 69730179], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 69730179], ["name", "Cool Term"], ["start_at", "2018-07-09 22:55:15.932366"], ["end_at", "2019-01-09 22:55:15.932415"], ["workflow_state", "active"], ["sis_id", "0fbfb338ba29e84eb5a41bcc229d7065"], ["created_at", "2018-01-09 22:55:15.933391"], ["updated_at", "2018-01-09 22:55:15.933391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:55:15.934454' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:55:15.934560' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:55:15.940995"], ["updated_at", "2018-01-09 22:55:15.940995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:55:14.456517"], ["end_at", "2018-01-12 22:55:14.456690"], ["workflow_state", "active"], ["sis_id", "8ed5a038fff40afc7a3323fc5a438d68"], ["created_at", "2018-01-09 22:55:15.947011"], ["updated_at", "2018-01-09 22:55:15.947011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 252], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:55:15.950130"], ["id", 252]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 252], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 13912616], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 13912616], ["sis_id", "7e2549ed600cf6e894b4173b118a9c86"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:55:15.976682"], ["updated_at", "2018-01-09 22:55:15.976682"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 92], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 63216507], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 63216507], ["sis_id", "a8bf10d36c77dd6fa4af45245d2f678e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:55:15.983938"], ["updated_at", "2018-01-09 22:55:15.983938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 63216507], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 61486077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 61486077], ["sis_id", "30c7a41667e3da415d579abe15b38ec6"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:55:15.998721"], ["updated_at", "2018-01-09 22:55:15.998721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:55:16.005274','2018-01-09 22:55:16.005274'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:55:16.005274','2018-01-09 22:55:16.005274') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:55:16.012445','2018-01-09 22:55:16.012445'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:55:16.012445','2018-01-09 22:55:16.012445') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.6ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:55:16.028556','2018-01-09 22:55:16.028556'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:55:16.028556','2018-01-09 22:55:16.028556') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:55:16.037179','2018-01-09 22:55:16.037179'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:55:16.037179','2018-01-09 22:55:16.037179') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:55:16.044169','2018-01-09 22:55:16.044169') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:55:16.053990','2018-01-09 22:55:16.053990'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:55:16.053990','2018-01-09 22:55:16.053990') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:55:16.055897','2018-01-09 22:55:16.055897'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:55:16.055897','2018-01-09 22:55:16.055897') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026] Performing GoodJob (Job ID: a2bf8bd7-3d72-4767-a388-b9e79f11b026) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.452885"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:57:03.461862"], ["updated_at", "2018-01-09 22:57:03.461862"]] [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.464492"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.464805"], ["id", 183]] [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a2bf8bd7-3d72-4767-a388-b9e79f11b026] Performed GoodJob (Job ID: a2bf8bd7-3d72-4767-a388-b9e79f11b026) from Async(default) in 13.49ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34] Performing BadJob (Job ID: f3a22139-0ac7-40d6-bb48-6bd3041f2a34) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.471407"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:57:03.471737"], ["updated_at", "2018-01-09 22:57:03.471737"]] [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:57:03.473180"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:57:03.473490"], ["id", 184]] [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f3a22139-0ac7-40d6-bb48-6bd3041f2a34] Error performing BadJob (Job ID: f3a22139-0ac7-40d6-bb48-6bd3041f2a34) from Async(default) in 3.73ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d] Performing CanvasSync::Jobs::ReportChecker (Job ID: e9cc428a-9d26-4d13-8558-3cdc3a1c894d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.488786"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.489342"], ["updated_at", "2018-01-09 22:57:03.489342"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 185]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e9cc428a-9d26-4d13-8558-3cdc3a1c894d] Performed CanvasSync::Jobs::ReportChecker (Job ID: e9cc428a-9d26-4d13-8558-3cdc3a1c894d) from Async(default) in 9.68ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874] Performing CanvasSync::Jobs::ReportChecker (Job ID: ae6d2e92-da26-486a-9c10-f7d77cdf8874) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.507313"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.507723"], ["updated_at", "2018-01-09 22:57:03.507723"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2d04824c-da30-4541-be1b-e8c830d796de) to Async(default) at 2018-01-09 22:57:33 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 186]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ae6d2e92-da26-486a-9c10-f7d77cdf8874] Performed CanvasSync::Jobs::ReportChecker (Job ID: ae6d2e92-da26-486a-9c10-f7d77cdf8874) from Async(default) in 5.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8] Performing CanvasSync::Jobs::ReportChecker (Job ID: feaf5a18-e34e-49dc-8c71-bbfb212df2c8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.516534"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.516938"], ["updated_at", "2018-01-09 22:57:03.516938"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:57:03.519008"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:57:03.519256"], ["id", 187]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feaf5a18-e34e-49dc-8c71-bbfb212df2c8] Error performing CanvasSync::Jobs::ReportChecker (Job ID: feaf5a18-e34e-49dc-8c71-bbfb212df2c8) from Async(default) in 11.6ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 40eb38ab-67e6-45b7-90cf-79db51503b4c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.531881"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.532325"], ["updated_at", "2018-01-09 22:57:03.532325"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:57:03.534470"], ["id", 188]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.555837"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.556183"], ["id", 188]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [40eb38ab-67e6-45b7-90cf-79db51503b4c] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 40eb38ab-67e6-45b7-90cf-79db51503b4c) from Async(default) in 25.65ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3] Performing CanvasSync::Jobs::ReportStarter (Job ID: d4016bd9-4780-4aa4-82fb-ffdec62bb3d3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.560496"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:57:03.560828"], ["updated_at", "2018-01-09 22:57:03.560828"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 05ca6267-9748-4572-be29-e9d1eadefb0f) to Async(default) at 2018-01-09 22:57:33 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.563449"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.563772"], ["id", 189]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3]  (0.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d4016bd9-4780-4aa4-82fb-ffdec62bb3d3] Performed CanvasSync::Jobs::ReportStarter (Job ID: d4016bd9-4780-4aa4-82fb-ffdec62bb3d3) from Async(default) in 5.69ms  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.579244"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.579650"], ["updated_at", "2018-01-09 22:57:03.579650"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:57:03.592949"], ["exception", "ActiveModel::UnknownAttributeError: unknown attribute 'role_name' for Admin."], ["backtrace", "[\"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\", \"/Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:57:03.593275"], ["id", 190]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1] Error performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e9fbb048-28c9-4b0a-b6a7-247cfdbe4ae1) from Async(default) in 16.27ms: ActiveModel::UnknownAttributeError (unknown attribute 'role_name' for Admin.): /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activemodel-5.1.3/lib/active_model/attribute_assignment.rb:33:in `assign_attributes' /Users/mvalentine/dev/canvas_sync/spec/dummy/app/models/admin.rb:17:in `create_or_update' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:11:in `block in perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `block in each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bearcat-1.3.20/lib/bearcat/api_array.rb:40:in `each' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/sync_admins_job.rb:10:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:12:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:347:in `perform_change' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb:133:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/sync_admins_job_spec.rb:11:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44788068], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44788068], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "9f23f8c73e4a28eca6ae1adbf1ee1c37"], ["created_at", "2018-01-09 22:57:03.617821"], ["updated_at", "2018-01-09 22:57:03.617821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18928256], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 18928256], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "692a6e3d8e1fafa0ff5f7a52986f94b9"], ["created_at", "2018-01-09 22:57:03.620664"], ["updated_at", "2018-01-09 22:57:03.620664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10285574], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10285574], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "inactive"], ["sis_id", "ca7e093b6f16df9b389c489a5e46bcc3"], ["created_at", "2018-01-09 22:57:03.622604"], ["updated_at", "2018-01-09 22:57:03.622604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 147fb550-ef7c-4b3e-ba14-078ac0fe66e0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.623964"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:57:03.624324"], ["updated_at", "2018-01-09 22:57:03.624324"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:57:03.626227' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:57:03.627515' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.629187"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.629561"], ["id", 191]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [147fb550-ef7c-4b3e-ba14-078ac0fe66e0] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 147fb550-ef7c-4b3e-ba14-078ac0fe66e0) from Async(default) in 7.02ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 83b90a32-46f6-4168-9476-5afb52604e99) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.634476"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:57:03.634829"], ["updated_at", "2018-01-09 22:57:03.634829"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.636696"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.636946"], ["id", 192]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [83b90a32-46f6-4168-9476-5afb52604e99] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 83b90a32-46f6-4168-9476-5afb52604e99) from Async(default) in 3.68ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 204f4e8a-2c5c-479c-9a45-97cf86e29a84) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.644095"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.644434"], ["updated_at", "2018-01-09 22:57:03.644434"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] SQL (0.8ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:57:03.659775"], ["updated_at", "2018-01-09 22:57:03.659775"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.9ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:57:03.676702"], ["updated_at", "2018-01-09 22:57:03.676702"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.681035"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.681376"], ["id", 193]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [204f4e8a-2c5c-479c-9a45-97cf86e29a84] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 204f4e8a-2c5c-479c-9a45-97cf86e29a84) from Async(default) in 38.91ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: c9fe30fd-e025-4033-a6fe-c10eb580a684) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.689398"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.689808"], ["updated_at", "2018-01-09 22:57:03.689808"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:57:03.695805"], ["updated_at", "2018-01-09 22:57:03.695805"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.698254"], ["updated_at", "2018-01-09 22:57:03.698254"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.700845"], ["updated_at", "2018-01-09 22:57:03.700845"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:57:03.703586"], ["updated_at", "2018-01-09 22:57:03.703586"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:57:03.705882"], ["updated_at", "2018-01-09 22:57:03.705882"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.708255"], ["updated_at", "2018-01-09 22:57:03.708255"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.709361"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.709734"], ["id", 194]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [c9fe30fd-e025-4033-a6fe-c10eb580a684] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: c9fe30fd-e025-4033-a6fe-c10eb580a684) from Async(default) in 21.7ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: b70eca2c-60cd-42ee-99b4-ca5b72b39356) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:57:03.715745"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:57:03.716247"], ["updated_at", "2018-01-09 22:57:03.716247"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 339e93fd-dc71-4f20-a5f0-2ecdc167dd0b) to Async(default) at 2018-01-09 22:57:33 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356]  (0.3ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356] SQL (1.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:57:03.719211"], ["status", "success"], ["updated_at", "2018-01-09 22:57:03.720149"], ["id", 195]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b70eca2c-60cd-42ee-99b4-ca5b72b39356] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: b70eca2c-60cd-42ee-99b4-ca5b72b39356) from Async(default) in 11.51ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 59041380], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 59041380], ["sis_id", "4b9d27bca04468a52aae3441d9b3424c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:57:03.759660"], ["end_date", "2018-01-30 22:57:03.759769"], ["created_at", "2018-01-09 22:57:03.762456"], ["updated_at", "2018-01-09 22:57:03.762456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 127], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94772415], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 94772415], ["sis_id", "1af9c7fd51d75dc6705934f7685aa87c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:57:03.779015"], ["end_date", "2018-01-30 22:57:03.779117"], ["created_at", "2018-01-09 22:57:03.779997"], ["updated_at", "2018-01-09 22:57:03.779997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94772415], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 69424519], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 69424519], ["sis_id", "1486bf2446790b81dee5cae8e0ce04fe"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:57:03.787778"], ["end_date", "2018-01-30 22:57:03.787855"], ["created_at", "2018-01-09 22:57:03.788764"], ["updated_at", "2018-01-09 22:57:03.788764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96257795], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96257795], ["sis_id", "b3559a63f32575083691d60ada74b773"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:57:03.792397"], ["end_date", "2018-01-30 22:57:03.792460"], ["created_at", "2018-01-09 22:57:03.793278"], ["updated_at", "2018-01-09 22:57:03.793278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97365256], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 97365256], ["sis_id", "446af5f958eaa204379235804ceba9d9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:57:03.796993"], ["end_date", "2018-01-30 22:57:03.797066"], ["created_at", "2018-01-09 22:57:03.798057"], ["updated_at", "2018-01-09 22:57:03.798057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Enrollment Exists (6.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 2565179], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 2565179], ["created_at", "2018-01-09 22:57:03.823590"], ["updated_at", "2018-01-09 22:57:03.823590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 99], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 15183749], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 15183749], ["created_at", "2018-01-09 22:57:03.831308"], ["updated_at", "2018-01-09 22:57:03.831308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 15183749], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76574985], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76574985], ["created_at", "2018-01-09 22:57:03.839843"], ["updated_at", "2018-01-09 22:57:03.839843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 31734439], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 31734439], ["created_at", "2018-01-09 22:57:03.844405"], ["updated_at", "2018-01-09 22:57:03.844405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 43224930], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 43224930], ["created_at", "2018-01-09 22:57:03.849807"], ["updated_at", "2018-01-09 22:57:03.849807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 78168387], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 78168387], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.855102"], ["updated_at", "2018-01-09 22:57:03.855102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 87], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 42641887], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 42641887], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.860585"], ["updated_at", "2018-01-09 22:57:03.860585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 42641887], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:57:03.878886"], ["updated_at", "2018-01-09 22:57:03.878886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:57:03.891474"], ["updated_at", "2018-01-09 22:57:03.891474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:57:03.897961"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 23792851], ["LIMIT", 1]] SQL (5.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 23792851], ["created_at", "2018-01-09 22:57:03.920865"], ["updated_at", "2018-01-09 22:57:03.920865"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 99], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 24289473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 24289473], ["created_at", "2018-01-09 22:57:03.938902"], ["updated_at", "2018-01-09 22:57:03.938902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 24289473], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 88215964], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 88215964], ["created_at", "2018-01-09 22:57:03.948445"], ["updated_at", "2018-01-09 22:57:03.948445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62229503], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62229503], ["created_at", "2018-01-09 22:57:03.953830"], ["updated_at", "2018-01-09 22:57:03.953830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26766612], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26766612], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "3019c085bbc0cc52052feae7327c5bf2"], ["created_at", "2018-01-09 22:57:03.958995"], ["updated_at", "2018-01-09 22:57:03.958995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 262], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68403488], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68403488], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "3b0c30bdaa9d3e6cad8c68ae4fa471b1"], ["created_at", "2018-01-09 22:57:03.965227"], ["updated_at", "2018-01-09 22:57:03.965227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (2.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68403488], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81019923], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81019923], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "39e146d608d9f614630c004a606fc7a1"], ["created_at", "2018-01-09 22:57:03.981310"], ["updated_at", "2018-01-09 22:57:03.981310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41552580], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41552580], ["name", "Cool Term"], ["start_at", "2018-01-07 22:57:03.986915"], ["end_at", "2018-01-12 22:57:03.986994"], ["workflow_state", "active"], ["sis_id", "96967df64c7182a8e661d9822d00f719"], ["created_at", "2018-01-09 22:57:03.988417"], ["updated_at", "2018-01-09 22:57:03.988417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32059091], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 32059091], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "inactive"], ["sis_id", "cdac7a6f2afd8a1eb19dc322e133d80f"], ["created_at", "2018-01-09 22:57:03.990382"], ["updated_at", "2018-01-09 22:57:03.990382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41450043], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41450043], ["name", "Cool Term"], ["start_at", "2017-11-09 22:57:03.991386"], ["end_at", "2017-12-09 22:57:03.991502"], ["workflow_state", "active"], ["sis_id", "3c7a19f3083582f19e6fec096fa7d4cc"], ["created_at", "2018-01-09 22:57:03.992696"], ["updated_at", "2018-01-09 22:57:03.992696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30870468], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30870468], ["name", "Cool Term"], ["start_at", "2018-07-09 22:57:03.993686"], ["end_at", "2019-01-09 22:57:03.993742"], ["workflow_state", "active"], ["sis_id", "e38aca2b1f125cb1ca73555f0f74d173"], ["created_at", "2018-01-09 22:57:03.994740"], ["updated_at", "2018-01-09 22:57:03.994740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:57:03.999239' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:57:03.999365' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:57:04.005007"], ["updated_at", "2018-01-09 22:57:04.005007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:57:02.676104"], ["end_at", "2018-01-12 22:57:02.676273"], ["workflow_state", "active"], ["sis_id", "027b6e01492393d161a006770ffdbb86"], ["created_at", "2018-01-09 22:57:04.010571"], ["updated_at", "2018-01-09 22:57:04.010571"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.8ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 270], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:57:04.020374"], ["id", 270]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 270], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 99387101], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 99387101], ["sis_id", "fc8d61d3eef5cd291dbc261d42042855"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:57:04.038683"], ["updated_at", "2018-01-09 22:57:04.038683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 99], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 69074966], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 69074966], ["sis_id", "1ea2c83fcc0b8df4fd6ced5c3cb4ee67"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:57:04.045778"], ["updated_at", "2018-01-09 22:57:04.045778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 69074966], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 7844358], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 7844358], ["sis_id", "c5a2edf1cbb4bbddbfa9067250201e5c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:57:04.054257"], ["updated_at", "2018-01-09 22:57:04.054257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:57:04.060607','2018-01-09 22:57:04.060607'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:57:04.060607','2018-01-09 22:57:04.060607') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:57:04.073222','2018-01-09 22:57:04.073222'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:57:04.073222','2018-01-09 22:57:04.073222') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:57:04.081169','2018-01-09 22:57:04.081169'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:57:04.081169','2018-01-09 22:57:04.081169') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:57:04.089007','2018-01-09 22:57:04.089007'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:57:04.089007','2018-01-09 22:57:04.089007') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:57:04.094755','2018-01-09 22:57:04.094755') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:57:04.103091','2018-01-09 22:57:04.103091'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:57:04.103091','2018-01-09 22:57:04.103091') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:57:04.104490','2018-01-09 22:57:04.104490'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:57:04.104490','2018-01-09 22:57:04.104490') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (119.2ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (395.0ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE  (16.4ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (3.7ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.6ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.9ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.2ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (4.8ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.8ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (4.5ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.8ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (4.2ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (3.9ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180109210452)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20170915210836);   (3.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-01-09 22:59:43.859921"], ["updated_at", "2018-01-09 22:59:43.859921"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (3.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e] Performing GoodJob (Job ID: 5e570fae-557e-422f-a233-08901f9bc37e) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.153771"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:59:44.164245"], ["updated_at", "2018-01-09 22:59:44.164245"]] [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.166260"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.166511"], ["id", 1]] [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [5e570fae-557e-422f-a233-08901f9bc37e] Performed GoodJob (Job ID: 5e570fae-557e-422f-a233-08901f9bc37e) from Async(default) in 14.06ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3] Performing BadJob (Job ID: fbf2b9d3-b439-42b8-96df-1567d5de7ec3) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.174062"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-01-09 22:59:44.174390"], ["updated_at", "2018-01-09 22:59:44.174390"]] [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:59:44.175989"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:59:44.176252"], ["id", 2]] [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fbf2b9d3-b439-42b8-96df-1567d5de7ec3] Error performing BadJob (Job ID: fbf2b9d3-b439-42b8-96df-1567d5de7ec3) from Async(default) in 3.96ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8ead7f0c-80b1-4b14-ba20-74bd84eabc15) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.182793"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.183162"], ["updated_at", "2018-01-09 22:59:44.183162"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ead7f0c-80b1-4b14-ba20-74bd84eabc15] Performed CanvasSync::Jobs::ReportChecker (Job ID: 8ead7f0c-80b1-4b14-ba20-74bd84eabc15) from Async(default) in 7.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551] Performing CanvasSync::Jobs::ReportChecker (Job ID: 95acbc63-cef4-4b6b-9ee1-f41a61200551) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.194757"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.195322"], ["updated_at", "2018-01-09 22:59:44.195322"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 513ae535-accd-4d71-b079-987f6c1a51e1) to Async(default) at 2018-01-09 23:00:14 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [95acbc63-cef4-4b6b-9ee1-f41a61200551] Performed CanvasSync::Jobs::ReportChecker (Job ID: 95acbc63-cef4-4b6b-9ee1-f41a61200551) from Async(default) in 5.85ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2188379a-85e2-4b96-87f4-2c0a338b5cac) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac] SQL (1.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.204527"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.204917"], ["updated_at", "2018-01-09 22:59:44.204917"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-01-09 22:59:44.214495"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-01-09 22:59:44.215000"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2188379a-85e2-4b96-87f4-2c0a338b5cac] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 2188379a-85e2-4b96-87f4-2c0a338b5cac) from Async(default) in 12.99ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:29:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 38ee9b1b-403d-4075-b70c-db2d4294ef8b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.221973"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.222405"], ["updated_at", "2018-01-09 22:59:44.222405"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b] SQL (5.7ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-01-09 22:59:44.226576"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.254008"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.254534"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [38ee9b1b-403d-4075-b70c-db2d4294ef8b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 38ee9b1b-403d-4075-b70c-db2d4294ef8b) from Async(default) in 34.2ms  (0.1ms) ROLLBACK  (2.7ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93] Performing CanvasSync::Jobs::ReportStarter (Job ID: c0b1b863-6ac1-4fd9-9190-46546ed63f93) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.266275"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-01-09 22:59:44.266750"], ["updated_at", "2018-01-09 22:59:44.266750"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2cc9ff45-c856-4064-9551-6641215ff114) to Async(default) at 2018-01-09 23:00:14 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.269896"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.270248"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c0b1b863-6ac1-4fd9-9190-46546ed63f93] Performed CanvasSync::Jobs::ReportStarter (Job ID: c0b1b863-6ac1-4fd9-9190-46546ed63f93) from Async(default) in 5.54ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: ee83b34b-f6a9-46ac-8bb7-bc477ce15b89) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.280923"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.281276"], ["updated_at", "2018-01-09 22:59:44.281276"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.295026"], ["updated_at", "2018-01-09 22:59:44.295026"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] SQL (0.1ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.297797"], ["updated_at", "2018-01-09 22:59:44.297797"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.300083"], ["updated_at", "2018-01-09 22:59:44.300083"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.301123"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.301410"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [ee83b34b-f6a9-46ac-8bb7-bc477ce15b89] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: ee83b34b-f6a9-46ac-8bb7-bc477ce15b89) from Async(default) in 21.91ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 39062324], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 39062324], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "785bd82b97cf1d13982d2a31cd191618"], ["created_at", "2018-01-09 22:59:44.327596"], ["updated_at", "2018-01-09 22:59:44.327596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23643744], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 23643744], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "513ec173a8e846561b9e8d06b50f1b9e"], ["created_at", "2018-01-09 22:59:44.330999"], ["updated_at", "2018-01-09 22:59:44.330999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 46256504], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 46256504], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "inactive"], ["sis_id", "78f79dbf2cb2efa418dfabc2ae5f7463"], ["created_at", "2018-01-09 22:59:44.333340"], ["updated_at", "2018-01-09 22:59:44.333340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7a19e3f0-c5fc-4fb8-af60-f350ac318d53) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.334795"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-01-09 22:59:44.335149"], ["updated_at", "2018-01-09 22:59:44.335149"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53] Term Load (1.8ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:59:44.337369' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:59:44.337596' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.340410"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.340702"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7a19e3f0-c5fc-4fb8-af60-f350ac318d53] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7a19e3f0-c5fc-4fb8-af60-f350ac318d53) from Async(default) in 7.24ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7f30f295-3f25-4334-b434-7b84e1575075) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.345877"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-01-09 22:59:44.346201"], ["updated_at", "2018-01-09 22:59:44.346201"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.347779"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.347991"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7f30f295-3f25-4334-b434-7b84e1575075] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7f30f295-3f25-4334-b434-7b84e1575075) from Async(default) in 3.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 665a969c-0b4a-4cdf-81fc-60bafec4be61) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.356053"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.356443"], ["updated_at", "2018-01-09 22:59:44.356443"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:59:44.371257"], ["updated_at", "2018-01-09 22:59:44.371257"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-01-09 22:59:44.387466"], ["updated_at", "2018-01-09 22:59:44.387466"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.391600"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.391939"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [665a969c-0b4a-4cdf-81fc-60bafec4be61] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 665a969c-0b4a-4cdf-81fc-60bafec4be61) from Async(default) in 37.35ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.400014"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.400424"], ["updated_at", "2018-01-09 22:59:44.400424"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:59:44.407173"], ["updated_at", "2018-01-09 22:59:44.407173"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.409951"], ["updated_at", "2018-01-09 22:59:44.409951"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.412283"], ["updated_at", "2018-01-09 22:59:44.412283"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-01-09 22:59:44.414867"], ["updated_at", "2018-01-09 22:59:44.414867"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-01-09 22:59:44.417087"], ["updated_at", "2018-01-09 22:59:44.417087"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.419504"], ["updated_at", "2018-01-09 22:59:44.419504"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.420458"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.420742"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 1b055bd2-a9dc-459b-9e3b-3ba6207a9f8e) from Async(default) in 22.02ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: e7c6cfb4-a48f-47bf-b326-1ec7538f49c5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-01-09 22:59:44.426437"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-01-09 22:59:44.426881"], ["updated_at", "2018-01-09 22:59:44.426881"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4b6bf116-7c79-4250-b060-5b5034640938) to Async(default) at 2018-01-09 23:00:14 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-01-09 22:59:44.429465"], ["status", "success"], ["updated_at", "2018-01-09 22:59:44.429719"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [e7c6cfb4-a48f-47bf-b326-1ec7538f49c5] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: e7c6cfb4-a48f-47bf-b326-1ec7538f49c5) from Async(default) in 4.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 26590188], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 26590188], ["role_name", "Cool Role"], ["canvas_role_id", 56709687], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.444000"], ["updated_at", "2018-01-09 22:59:44.444000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 79871842], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 79871842], ["role_name", "Cool Role"], ["canvas_role_id", 25598923], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.455861"], ["updated_at", "2018-01-09 22:59:44.455861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 79871842], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.464751"], ["updated_at", "2018-01-09 22:59:44.464751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 94204918], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.470234"], ["updated_at", "2018-01-09 22:59:44.470234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-01-09 22:59:44.473262"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9039308], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9039308], ["sis_id", "48565af38f48ab176bb0792683561778"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:59:44.501617"], ["end_date", "2018-01-30 22:59:44.501713"], ["created_at", "2018-01-09 22:59:44.504845"], ["updated_at", "2018-01-09 22:59:44.504845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 499227], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 499227], ["sis_id", "b5d3b74cab4e243696fa1f0a8d25fa5e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:59:44.510625"], ["end_date", "2018-01-30 22:59:44.510696"], ["created_at", "2018-01-09 22:59:44.511460"], ["updated_at", "2018-01-09 22:59:44.511460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 499227], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 36979397], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 36979397], ["sis_id", "c9c7f17295dd06915fe1a144893ca023"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:59:44.517083"], ["end_date", "2018-01-30 22:59:44.517151"], ["created_at", "2018-01-09 22:59:44.517972"], ["updated_at", "2018-01-09 22:59:44.517972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 48536255], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 48536255], ["sis_id", "a71b7b12d2f47b16bddbf29f85105bd5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:59:44.522015"], ["end_date", "2018-01-30 22:59:44.522106"], ["created_at", "2018-01-09 22:59:44.523085"], ["updated_at", "2018-01-09 22:59:44.523085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 49819689], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 49819689], ["sis_id", "dbf53e29e3082d864f09c75e396d4b7f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-01-06 22:59:44.527182"], ["end_date", "2018-01-30 22:59:44.527262"], ["created_at", "2018-01-09 22:59:44.528226"], ["updated_at", "2018-01-09 22:59:44.528226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 89097729], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 89097729], ["created_at", "2018-01-09 22:59:44.557440"], ["updated_at", "2018-01-09 22:59:44.557440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26804480], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 26804480], ["created_at", "2018-01-09 22:59:44.565542"], ["updated_at", "2018-01-09 22:59:44.565542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26804480], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 63809885], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 63809885], ["created_at", "2018-01-09 22:59:44.572042"], ["updated_at", "2018-01-09 22:59:44.572042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 21233414], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 21233414], ["created_at", "2018-01-09 22:59:44.576440"], ["updated_at", "2018-01-09 22:59:44.576440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 64645618], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 64645618], ["created_at", "2018-01-09 22:59:44.580265"], ["updated_at", "2018-01-09 22:59:44.580265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 4825819], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 4825819], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.584465"], ["updated_at", "2018-01-09 22:59:44.584465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 59364724], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 59364724], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.590832"], ["updated_at", "2018-01-09 22:59:44.590832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 59364724], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-01-09 22:59:44.609773"], ["updated_at", "2018-01-09 22:59:44.609773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-01-09 22:59:44.622330"], ["updated_at", "2018-01-09 22:59:44.622330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-01-09 22:59:44.627414"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (2.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 56460696], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 56460696], ["created_at", "2018-01-09 22:59:44.650168"], ["updated_at", "2018-01-09 22:59:44.650168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (1.8ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93072319], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 93072319], ["created_at", "2018-01-09 22:59:44.665619"], ["updated_at", "2018-01-09 22:59:44.665619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93072319], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 75556952], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 75556952], ["created_at", "2018-01-09 22:59:44.673514"], ["updated_at", "2018-01-09 22:59:44.673514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 61029730], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 61029730], ["created_at", "2018-01-09 22:59:44.678394"], ["updated_at", "2018-01-09 22:59:44.678394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 15173610], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 15173610], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "4e3cac1c852158a0ec38025098827acd"], ["created_at", "2018-01-09 22:59:44.683281"], ["updated_at", "2018-01-09 22:59:44.683281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65176299], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65176299], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "bac22c9a963bc0d1a3291f567368bd66"], ["created_at", "2018-01-09 22:59:44.689008"], ["updated_at", "2018-01-09 22:59:44.689008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65176299], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55187990], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 55187990], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "c6c15cd485555fd2369b68391e967363"], ["created_at", "2018-01-09 22:59:44.695879"], ["updated_at", "2018-01-09 22:59:44.695879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49459794], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49459794], ["name", "Cool Term"], ["start_at", "2018-01-07 22:59:44.707986"], ["end_at", "2018-01-12 22:59:44.708103"], ["workflow_state", "active"], ["sis_id", "18fd39beb37d4dbc19a4701780be7787"], ["created_at", "2018-01-09 22:59:44.709744"], ["updated_at", "2018-01-09 22:59:44.709744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 22323843], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 22323843], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "inactive"], ["sis_id", "f673b6f1c008d778243551a8c89dde28"], ["created_at", "2018-01-09 22:59:44.711994"], ["updated_at", "2018-01-09 22:59:44.711994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10857458], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10857458], ["name", "Cool Term"], ["start_at", "2017-11-09 22:59:44.712955"], ["end_at", "2017-12-09 22:59:44.713018"], ["workflow_state", "active"], ["sis_id", "d8ccf161ea1bd41fa5e7606cab48d243"], ["created_at", "2018-01-09 22:59:44.714057"], ["updated_at", "2018-01-09 22:59:44.714057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 31306378], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 31306378], ["name", "Cool Term"], ["start_at", "2018-07-09 22:59:44.715018"], ["end_at", "2019-01-09 22:59:44.715063"], ["workflow_state", "active"], ["sis_id", "67b81a0fe8f95d1049f87b46f219af40"], ["created_at", "2018-01-09 22:59:44.717303"], ["updated_at", "2018-01-09 22:59:44.717303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-01-24 22:59:44.718461' OR start_at IS NULL) AND (end_at >= '2017-12-25 22:59:44.718582' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-01-09 22:59:44.724786"], ["updated_at", "2018-01-09 22:59:44.724786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-01-06 22:59:40.645688"], ["end_at", "2018-01-12 22:59:40.645854"], ["workflow_state", "active"], ["sis_id", "8f7cab1168bfc2e8e579aa00a813d445"], ["created_at", "2018-01-09 22:59:44.730231"], ["updated_at", "2018-01-09 22:59:44.730231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-01-09 22:59:44.736033"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.9ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 20265074], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 20265074], ["sis_id", "e47613b6882110744ef350bc8a12cd6c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:59:44.762951"], ["updated_at", "2018-01-09 22:59:44.762951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 15956982], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 15956982], ["sis_id", "1cd96f4afe0577fd31db8136f6df9295"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:59:44.769897"], ["updated_at", "2018-01-09 22:59:44.769897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 15956982], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 67584280], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 67584280], ["sis_id", "6e522f3e032b5c00bab1541a95200618"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-01-09 22:59:44.777395"], ["updated_at", "2018-01-09 22:59:44.777395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:59:44.783390','2018-01-09 22:59:44.783390'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:59:44.783390','2018-01-09 22:59:44.783390') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:59:44.789877','2018-01-09 22:59:44.789877'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:59:44.789877','2018-01-09 22:59:44.789877') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-01-09 22:59:44.797936','2018-01-09 22:59:44.797936'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-01-09 22:59:44.797936','2018-01-09 22:59:44.797936') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:59:44.814189','2018-01-09 22:59:44.814189'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-01-09 22:59:44.814189','2018-01-09 22:59:44.814189') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-01-09 22:59:44.821647','2018-01-09 22:59:44.821647') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-01-09 22:59:44.830082','2018-01-09 22:59:44.830082'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-01-09 22:59:44.830082','2018-01-09 22:59:44.830082') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-01-09 22:59:44.831799','2018-01-09 22:59:44.831799'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-01-09 22:59:44.831799','2018-01-09 22:59:44.831799') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (119.7ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (463.1ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (34.1ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.0ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (4.9ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.9ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (5.0ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (4.3ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.4ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (4.0ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (12.5ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.2ms) DROP TABLE IF EXISTS "sections" CASCADE  (12.1ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.8ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.9ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (2.9ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint NOT NULL, "canvas_assignment_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.3ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.4ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (4.1ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (5.5ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES (20180213234230)  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180212204530), (20170915210836);   (21.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-13 23:44:03.805726"], ["updated_at", "2018-02-13 23:44:03.805726"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d] Performing GoodJob (Job ID: 2aed85aa-1b08-48f7-9f58-4589d192985d) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.313207"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:44:04.339810"], ["updated_at", "2018-02-13 23:44:04.339810"]] [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.342139"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.342460"], ["id", 1]] [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [2aed85aa-1b08-48f7-9f58-4589d192985d] Performed GoodJob (Job ID: 2aed85aa-1b08-48f7-9f58-4589d192985d) from Async(default) in 30.65ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51] Performing BadJob (Job ID: 6a40aff2-6cd6-4852-8235-e57571b37e51) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.351778"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:44:04.352206"], ["updated_at", "2018-02-13 23:44:04.352206"]] [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51] SQL (0.9ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:44:04.353887"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:44:04.354114"], ["id", 2]] [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6a40aff2-6cd6-4852-8235-e57571b37e51] Error performing BadJob (Job ID: 6a40aff2-6cd6-4852-8235-e57571b37e51) from Async(default) in 4.55ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1546d4e6-eb1c-48da-bf6e-2d2cd4486656) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.360625"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.360958"], ["updated_at", "2018-02-13 23:44:04.360958"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1546d4e6-eb1c-48da-bf6e-2d2cd4486656] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1546d4e6-eb1c-48da-bf6e-2d2cd4486656) from Async(default) in 21.75ms  (1.3ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 396e18dd-1129-4fa2-a130-04df46115c8f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.395134"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.395641"], ["updated_at", "2018-02-13 23:44:04.395641"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 75cb1cf2-b337-4250-acf2-b822231350b8) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [396e18dd-1129-4fa2-a130-04df46115c8f] Performed CanvasSync::Jobs::ReportChecker (Job ID: 396e18dd-1129-4fa2-a130-04df46115c8f) from Async(default) in 13.47ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624] Performing CanvasSync::Jobs::ReportChecker (Job ID: c390abd6-1815-4e8c-97e6-c3edfe540624) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.412252"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.412662"], ["updated_at", "2018-02-13 23:44:04.412662"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:44:04.414953"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:44:04.415187"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c390abd6-1815-4e8c-97e6-c3edfe540624] Error performing CanvasSync::Jobs::ReportChecker (Job ID: c390abd6-1815-4e8c-97e6-c3edfe540624) from Async(default) in 4.77ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 357c9a08-938c-4325-b046-f708b5ea53ed) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.419910"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.420230"], ["updated_at", "2018-02-13 23:44:04.420230"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:44:04.421976"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.493844"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.494439"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [357c9a08-938c-4325-b046-f708b5ea53ed] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 357c9a08-938c-4325-b046-f708b5ea53ed) from Async(default) in 76.46ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1] Performing CanvasSync::Jobs::ReportStarter (Job ID: 54907b52-c9b6-4f48-81a6-b44d310f9fa1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.500356"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:44:04.500710"], ["updated_at", "2018-02-13 23:44:04.500710"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ffd831aa-3a5c-4ceb-9c02-d21bb85ba190) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.503393"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.503724"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [54907b52-c9b6-4f48-81a6-b44d310f9fa1] Performed CanvasSync::Jobs::ReportStarter (Job ID: 54907b52-c9b6-4f48-81a6-b44d310f9fa1) from Async(default) in 4.84ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd] Performing CanvasSync::Jobs::ReportStarter (Job ID: 134ca255-837d-45b0-bbe2-625c1859b5bd) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.509167"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:44:04.509560"], ["updated_at", "2018-02-13 23:44:04.509560"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.511983"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.512437"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [134ca255-837d-45b0-bbe2-625c1859b5bd] Performed CanvasSync::Jobs::ReportStarter (Job ID: 134ca255-837d-45b0-bbe2-625c1859b5bd) from Async(default) in 5.27ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278] Performing CanvasSync::Jobs::ReportStarter (Job ID: 93ecbb69-a62c-4d9a-9d1f-695204267278) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.518704"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:44:04.519113"], ["updated_at", "2018-02-13 23:44:04.519113"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.521650"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.521920"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [93ecbb69-a62c-4d9a-9d1f-695204267278] Performed CanvasSync::Jobs::ReportStarter (Job ID: 93ecbb69-a62c-4d9a-9d1f-695204267278) from Async(default) in 4.81ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (9.0ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 2265a1b8-aff0-4bee-b260-54bd64fa8812) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.539446"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.539951"], ["updated_at", "2018-02-13 23:44:04.539951"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.564328"], ["updated_at", "2018-02-13 23:44:04.564328"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.567390"], ["updated_at", "2018-02-13 23:44:04.567390"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.569853"], ["updated_at", "2018-02-13 23:44:04.569853"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.571424"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.571698"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2265a1b8-aff0-4bee-b260-54bd64fa8812] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 2265a1b8-aff0-4bee-b260-54bd64fa8812) from Async(default) in 33.47ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 46275686-21a7-4898-a21d-2701fbe212fa) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.577532"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.577919"], ["updated_at", "2018-02-13 23:44:04.577919"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4e8d2fba-95cd-45cf-8a9d-10d8865f1a2a) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.580643"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.580934"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [46275686-21a7-4898-a21d-2701fbe212fa] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 46275686-21a7-4898-a21d-2701fbe212fa) from Async(default) in 5.06ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 934928d1-d5ae-4b0d-9c72-559d8a8ded2a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.586867"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.587237"], ["updated_at", "2018-02-13 23:44:04.587237"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 327480de-c631-455c-9c58-0e7a5915ce58) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.589680"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.589967"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [934928d1-d5ae-4b0d-9c72-559d8a8ded2a] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 934928d1-d5ae-4b0d-9c72-559d8a8ded2a) from Async(default) in 4.35ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (2.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 51335317], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 51335317], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "232c09505378cae8701c22907b5e5e27"], ["created_at", "2018-02-13 23:44:04.606999"], ["updated_at", "2018-02-13 23:44:04.606999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 33748226], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 33748226], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "5b47242d3e6ffc19ccfc47c1128b30d4"], ["created_at", "2018-02-13 23:44:04.616963"], ["updated_at", "2018-02-13 23:44:04.616963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 77890142], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 77890142], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "inactive"], ["sis_id", "f85a814df1ecd769d2272172b5cbfe15"], ["created_at", "2018-02-13 23:44:04.619321"], ["updated_at", "2018-02-13 23:44:04.619321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 944703d9-5d0f-4482-bf23-6934549b5204) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.621087"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:44:04.621477"], ["updated_at", "2018-02-13 23:44:04.621477"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204] Term Load (2.0ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:44:04.623537' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:44:04.623743' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.626641"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.626965"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [944703d9-5d0f-4482-bf23-6934549b5204] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 944703d9-5d0f-4482-bf23-6934549b5204) from Async(default) in 8.56ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e8e90dae-b0fd-47f1-92b6-81246ae3d4c2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.634095"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:44:04.634586"], ["updated_at", "2018-02-13 23:44:04.634586"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2] SQL (0.7ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.636772"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.637146"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e8e90dae-b0fd-47f1-92b6-81246ae3d4c2] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e8e90dae-b0fd-47f1-92b6-81246ae3d4c2) from Async(default) in 4.83ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: bfa28efc-0fa5-40b5-9359-4cd41a62118c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.645911"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.646238"], ["updated_at", "2018-02-13 23:44:04.646238"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] SQL (0.7ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:44:04.663101"], ["updated_at", "2018-02-13 23:44:04.663101"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:44:04.681872"], ["updated_at", "2018-02-13 23:44:04.681872"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.687692"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.688033"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [bfa28efc-0fa5-40b5-9359-4cd41a62118c] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: bfa28efc-0fa5-40b5-9359-4cd41a62118c) from Async(default) in 43.78ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: c94b3402-969b-42a5-9057-8d45e11173f3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.695649"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.696057"], ["updated_at", "2018-02-13 23:44:04.696057"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1e09b3a9-f252-41f1-81d6-db472c926977) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.702243"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.702540"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [c94b3402-969b-42a5-9057-8d45e11173f3] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: c94b3402-969b-42a5-9057-8d45e11173f3) from Async(default) in 8.13ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 978067f8-948d-4f38-9e8f-92204956bd50) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.707781"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.708101"], ["updated_at", "2018-02-13 23:44:04.708101"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:44:04.714509"], ["updated_at", "2018-02-13 23:44:04.714509"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.717087"], ["updated_at", "2018-02-13 23:44:04.717087"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.721854"], ["updated_at", "2018-02-13 23:44:04.721854"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:44:04.724716"], ["updated_at", "2018-02-13 23:44:04.724716"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:44:04.735426"], ["updated_at", "2018-02-13 23:44:04.735426"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.738517"], ["updated_at", "2018-02-13 23:44:04.738517"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.739593"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.739905"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [978067f8-948d-4f38-9e8f-92204956bd50] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 978067f8-948d-4f38-9e8f-92204956bd50) from Async(default) in 33.59ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 9995de5f-4028-420f-8f68-fb9dc3eee2bc) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:04.747981"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:04.748458"], ["updated_at", "2018-02-13 23:44:04.748458"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d39d9170-b1e2-4c60-874d-ba4fd3401fbc) to Async(default) at 2018-02-13 23:44:34 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:04.751083"], ["status", "success"], ["updated_at", "2018-02-13 23:44:04.751454"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9995de5f-4028-420f-8f68-fb9dc3eee2bc] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 9995de5f-4028-420f-8f68-fb9dc3eee2bc) from Async(default) in 4.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 33125256], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 33125256], ["role_name", "Cool Role"], ["canvas_role_id", 36303978], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.756874"], ["updated_at", "2018-02-13 23:44:04.756874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 58697645], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 58697645], ["role_name", "Cool Role"], ["canvas_role_id", 93319585], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.768529"], ["updated_at", "2018-02-13 23:44:04.768529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 58697645], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.779262"], ["updated_at", "2018-02-13 23:44:04.779262"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 84737660], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:04.794632"], ["updated_at", "2018-02-13 23:44:04.794632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:44:04.797724"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (6.7ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:44:04.820516"], ["unlock_at", "2018-02-12 23:44:04.820620"], ["lock_at", "2018-03-06 23:44:04.820689"], ["created_at", "2018-02-13 23:44:04.831540"], ["updated_at", "2018-02-13 23:44:04.831540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:44:04.840224"], ["unlock_at", "2018-02-12 23:44:04.840319"], ["lock_at", "2018-03-06 23:44:04.840387"], ["created_at", "2018-02-13 23:44:04.841324"], ["updated_at", "2018-02-13 23:44:04.841324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:44:04.848634"], ["unlock_at", "2018-02-12 23:44:04.848707"], ["lock_at", "2018-03-06 23:44:04.848750"], ["created_at", "2018-02-13 23:44:04.849650"], ["updated_at", "2018-02-13 23:44:04.849650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 41789641], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 41789641], ["sis_id", "e9d412ed85e8fb9329a44bac6a834e99"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.864903"], ["end_date", "2018-03-06 23:44:04.864983"], ["created_at", "2018-02-13 23:44:04.868167"], ["updated_at", "2018-02-13 23:44:04.868167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76250813], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76250813], ["sis_id", "3e5e8d87c11892d488156076a968460e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.869933"], ["end_date", "2018-03-06 23:44:04.870005"], ["created_at", "2018-02-13 23:44:04.871006"], ["updated_at", "2018-02-13 23:44:04.871006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:44:04.872234"], ["unlock_at", "2018-02-12 23:44:04.872288"], ["lock_at", "2018-03-06 23:44:04.872327"], ["created_at", "2018-02-13 23:44:04.873310"], ["updated_at", "2018-02-13 23:44:04.873310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 4], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 76250813], ["context_type", "Course"], ["updated_at", "2018-02-13 23:44:04.875297"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76250813], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96298678], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96298678], ["sis_id", "1a0de9db8dc05f687a8aaf28d604dd73"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.904404"], ["end_date", "2018-03-06 23:44:04.904503"], ["created_at", "2018-02-13 23:44:04.905518"], ["updated_at", "2018-02-13 23:44:04.905518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21650848], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21650848], ["sis_id", "e52c385da9cc7d7ebeaf75abc20e2507"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.911290"], ["end_date", "2018-03-06 23:44:04.911427"], ["created_at", "2018-02-13 23:44:04.912563"], ["updated_at", "2018-02-13 23:44:04.912563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21650848], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74243338], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74243338], ["sis_id", "a20b92ce119c17805492e092ff2477bb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.918423"], ["end_date", "2018-03-06 23:44:04.918489"], ["created_at", "2018-02-13 23:44:04.919343"], ["updated_at", "2018-02-13 23:44:04.919343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44462716], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 44462716], ["sis_id", "9a91e8b2724d2c74e39755aa7e44b75e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.922970"], ["end_date", "2018-03-06 23:44:04.923034"], ["created_at", "2018-02-13 23:44:04.923878"], ["updated_at", "2018-02-13 23:44:04.923878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 54458577], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 54458577], ["sis_id", "3b077db5fe64bff51ea4a3476124452f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.927481"], ["end_date", "2018-03-06 23:44:04.927547"], ["created_at", "2018-02-13 23:44:04.928375"], ["updated_at", "2018-02-13 23:44:04.928375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 63961936], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 63961936], ["sis_id", "aedee65cca60793f410dbc111bf2d764"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.932196"], ["end_date", "2018-03-06 23:44:04.932281"], ["created_at", "2018-02-13 23:44:04.933401"], ["updated_at", "2018-02-13 23:44:04.933401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 83671581], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 83671581], ["sis_id", "7ece3654771fa61bd3942dded7938872"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:04.947112"], ["end_date", "2018-03-06 23:44:04.947234"], ["created_at", "2018-02-13 23:44:04.948925"], ["updated_at", "2018-02-13 23:44:04.948925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 16678175], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 16678175], ["created_at", "2018-02-13 23:44:04.972209"], ["updated_at", "2018-02-13 23:44:04.972209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3525241], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 3525241], ["created_at", "2018-02-13 23:44:04.977891"], ["updated_at", "2018-02-13 23:44:04.977891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (1.0ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3525241], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75346902], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 75346902], ["created_at", "2018-02-13 23:44:04.995748"], ["updated_at", "2018-02-13 23:44:04.995748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26433694], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 26433694], ["created_at", "2018-02-13 23:44:05.000893"], ["updated_at", "2018-02-13 23:44:05.000893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 5081658], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 5081658], ["created_at", "2018-02-13 23:44:05.007475"], ["updated_at", "2018-02-13 23:44:05.007475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 17167448], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 17167448], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:05.016008"], ["updated_at", "2018-02-13 23:44:05.016008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41590920], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 41590920], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:05.022015"], ["updated_at", "2018-02-13 23:44:05.022015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41590920], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:44:05.039919"], ["updated_at", "2018-02-13 23:44:05.039919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:05.052949"], ["updated_at", "2018-02-13 23:44:05.052949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:44:05.057574"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 68460607], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 68460607], ["created_at", "2018-02-13 23:44:05.080190"], ["updated_at", "2018-02-13 23:44:05.080190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (1.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 61366869], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 61366869], ["created_at", "2018-02-13 23:44:05.096278"], ["updated_at", "2018-02-13 23:44:05.096278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 61366869], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 80568839], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 80568839], ["created_at", "2018-02-13 23:44:05.104978"], ["updated_at", "2018-02-13 23:44:05.104978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 87093790], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 87093790], ["created_at", "2018-02-13 23:44:05.109955"], ["updated_at", "2018-02-13 23:44:05.109955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 39012481], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 39012481], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "63e47bb3ce727ab34f8e20cb5aefcd2f"], ["created_at", "2018-02-13 23:44:05.143359"], ["updated_at", "2018-02-13 23:44:05.143359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35498895], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35498895], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "eaaa72ea2d3e2bedef03161815357a80"], ["created_at", "2018-02-13 23:44:05.151467"], ["updated_at", "2018-02-13 23:44:05.151467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35498895], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 77202756], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 77202756], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "7c20431d55f6106b532f95e90398ff0a"], ["created_at", "2018-02-13 23:44:05.158369"], ["updated_at", "2018-02-13 23:44:05.158369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60327144], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60327144], ["name", "Cool Term"], ["start_at", "2018-02-11 23:44:05.162402"], ["end_at", "2018-02-16 23:44:05.162502"], ["workflow_state", "active"], ["sis_id", "ef011d9f7bacb6e150d7db193e40a199"], ["created_at", "2018-02-13 23:44:05.163729"], ["updated_at", "2018-02-13 23:44:05.163729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94871950], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94871950], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "inactive"], ["sis_id", "1b09bb06f06bc6b0da54a325a4fd306a"], ["created_at", "2018-02-13 23:44:05.165678"], ["updated_at", "2018-02-13 23:44:05.165678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25480154], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25480154], ["name", "Cool Term"], ["start_at", "2017-12-13 23:44:05.166615"], ["end_at", "2018-01-13 23:44:05.166666"], ["workflow_state", "active"], ["sis_id", "c0f9685f87179a691d51f2a58b0d0a0a"], ["created_at", "2018-02-13 23:44:05.167655"], ["updated_at", "2018-02-13 23:44:05.167655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26855452], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26855452], ["name", "Cool Term"], ["start_at", "2018-08-13 23:44:05.168598"], ["end_at", "2019-02-13 23:44:05.168641"], ["workflow_state", "active"], ["sis_id", "3e1e02e2c54c600af1caf721b88f4205"], ["created_at", "2018-02-13 23:44:05.169595"], ["updated_at", "2018-02-13 23:44:05.169595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:44:05.170779' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:44:05.170931' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:44:05.177224"], ["updated_at", "2018-02-13 23:44:05.177224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:00.024511"], ["end_at", "2018-02-16 23:44:00.024695"], ["workflow_state", "active"], ["sis_id", "f7d13630e6c42d6be687e4cd5df301d9"], ["created_at", "2018-02-13 23:44:05.191771"], ["updated_at", "2018-02-13 23:44:05.191771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:44:05.195021"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (1.7ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 35136568], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 35136568], ["sis_id", "b50ce805b9b57efc06cbf5a4184b5c47"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:05.214320"], ["updated_at", "2018-02-13 23:44:05.214320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95840478], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 95840478], ["sis_id", "43aa11da46c89164c04e7fb9df6cd61b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:05.220379"], ["updated_at", "2018-02-13 23:44:05.220379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 95840478], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 78112957], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 78112957], ["sis_id", "b7268ea408f016d95c98e27ac167e59e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:05.227902"], ["updated_at", "2018-02-13 23:44:05.227902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 91568758], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 91568758], ["sis_id", "d441e4e464c7b152cae915bec20e196f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:05.232433"], ["updated_at", "2018-02-13 23:44:05.232433"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:44:05.255358','2018-02-13 23:44:05.255358'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:44:05.255358','2018-02-13 23:44:05.255358') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:44:05.263846','2018-02-13 23:44:05.263846'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:44:05.263846','2018-02-13 23:44:05.263846') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:44:05.271588','2018-02-13 23:44:05.271588'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:44:05.271588','2018-02-13 23:44:05.271588') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:44:05.278903','2018-02-13 23:44:05.278903'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:44:05.278903','2018-02-13 23:44:05.278903') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (2.2ms) SELECT COUNT(*) FROM "enrollments"  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:44:05.293109','2018-02-13 23:44:05.293109'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:44:05.293109','2018-02-13 23:44:05.293109') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:44:05.301290','2018-02-13 23:44:05.301290') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:44:05.310319','2018-02-13 23:44:05.310319'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:44:05.310319','2018-02-13 23:44:05.310319') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:44:05.312008','2018-02-13 23:44:05.312008'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:44:05.312008','2018-02-13 23:44:05.312008') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.8ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (15.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753] Performing GoodJob (Job ID: 6d96463b-fb95-466a-b555-72d4c54d2753) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.375327"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:44:50.391826"], ["updated_at", "2018-02-13 23:44:50.391826"]] [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.394291"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.394552"], ["id", 19]] [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [6d96463b-fb95-466a-b555-72d4c54d2753] Performed GoodJob (Job ID: 6d96463b-fb95-466a-b555-72d4c54d2753) from Async(default) in 20.48ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8] Performing BadJob (Job ID: fc69c265-5dde-4690-9822-4fbd9135c1d8) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.402858"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:44:50.403287"], ["updated_at", "2018-02-13 23:44:50.403287"]] [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:44:50.405102"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:44:50.405410"], ["id", 20]] [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fc69c265-5dde-4690-9822-4fbd9135c1d8] Error performing BadJob (Job ID: fc69c265-5dde-4690-9822-4fbd9135c1d8) from Async(default) in 4.43ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302] Performing CanvasSync::Jobs::ReportChecker (Job ID: 00beac98-1dba-4a81-b396-0c21185f7302) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.412067"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.412419"], ["updated_at", "2018-02-13 23:44:50.412419"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 21]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [00beac98-1dba-4a81-b396-0c21185f7302] Performed CanvasSync::Jobs::ReportChecker (Job ID: 00beac98-1dba-4a81-b396-0c21185f7302) from Async(default) in 10.08ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4c612a4a-a1b1-4552-bced-8e2f27aba209) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.426615"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.427125"], ["updated_at", "2018-02-13 23:44:50.427125"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c2ec4ffd-dc75-46ec-94d4-1ae0f7ef78c0) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 22]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4c612a4a-a1b1-4552-bced-8e2f27aba209] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4c612a4a-a1b1-4552-bced-8e2f27aba209) from Async(default) in 6.62ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031] Performing CanvasSync::Jobs::ReportChecker (Job ID: ba9e87b7-562e-49c2-8783-3cf1e16e9031) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031] SQL (6.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.445270"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.445767"], ["updated_at", "2018-02-13 23:44:50.445767"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:44:50.455856"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:44:50.456206"], ["id", 23]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ba9e87b7-562e-49c2-8783-3cf1e16e9031] Error performing CanvasSync::Jobs::ReportChecker (Job ID: ba9e87b7-562e-49c2-8783-3cf1e16e9031) from Async(default) in 12.84ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 065b2a5f-5556-407a-aaff-9c8113b907c2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.461333"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.461652"], ["updated_at", "2018-02-13 23:44:50.461652"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:44:50.463422"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.486033"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.486531"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [065b2a5f-5556-407a-aaff-9c8113b907c2] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 065b2a5f-5556-407a-aaff-9c8113b907c2) from Async(default) in 27.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8] Performing CanvasSync::Jobs::ReportStarter (Job ID: 110dd767-5a81-4c81-b48d-398abdfa28a8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.492318"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:44:50.492703"], ["updated_at", "2018-02-13 23:44:50.492703"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ae95e732-2c76-4fae-960a-751827631e3c) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.502915"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.503329"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [110dd767-5a81-4c81-b48d-398abdfa28a8] Performed CanvasSync::Jobs::ReportStarter (Job ID: 110dd767-5a81-4c81-b48d-398abdfa28a8) from Async(default) in 12.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c] Performing CanvasSync::Jobs::ReportStarter (Job ID: 6c9990a8-6876-4daf-a466-7c26b78b5f4c) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c] SQL (3.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.509156"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:44:50.509561"], ["updated_at", "2018-02-13 23:44:50.509561"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.514888"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.515179"], ["id", 26]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6c9990a8-6876-4daf-a466-7c26b78b5f4c] Performed CanvasSync::Jobs::ReportStarter (Job ID: 6c9990a8-6876-4daf-a466-7c26b78b5f4c) from Async(default) in 7.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9f00b401-0ce7-4da0-afbc-29b11a37b0e2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.519822"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:44:50.520254"], ["updated_at", "2018-02-13 23:44:50.520254"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.523227"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.523538"], ["id", 27]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9f00b401-0ce7-4da0-afbc-29b11a37b0e2] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9f00b401-0ce7-4da0-afbc-29b11a37b0e2) from Async(default) in 5.26ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (14.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (4.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.545730"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.546320"], ["updated_at", "2018-02-13 23:44:50.546320"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.572300"], ["updated_at", "2018-02-13 23:44:50.572300"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.578489"], ["updated_at", "2018-02-13 23:44:50.578489"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.580774"], ["updated_at", "2018-02-13 23:44:50.580774"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (8, 9, 10)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.582467"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.582754"], ["id", 28]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 7d4e56f0-2a40-4f3d-8f5d-e6ce0b5491fb) from Async(default) in 38.3ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: f7e97ffe-95f8-4c59-9cef-a89aad17e8e6) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.588527"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.588870"], ["updated_at", "2018-02-13 23:44:50.588870"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 411c0bec-4c25-4329-8c86-d5feae29ef05) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.591550"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.591817"], ["id", 29]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [f7e97ffe-95f8-4c59-9cef-a89aad17e8e6] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: f7e97ffe-95f8-4c59-9cef-a89aad17e8e6) from Async(default) in 4.62ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 4f501b84-7659-4d18-9b3e-3cb653cd28c6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.597022"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.597412"], ["updated_at", "2018-02-13 23:44:50.597412"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c68f081f-2678-4b3c-b6f7-090a55223d3c) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.599851"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.600153"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4f501b84-7659-4d18-9b3e-3cb653cd28c6] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 4f501b84-7659-4d18-9b3e-3cb653cd28c6) from Async(default) in 4.57ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (9.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66067548], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66067548], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "f19a97f617138d5b1c4aea3302aebc85"], ["created_at", "2018-02-13 23:44:50.626756"], ["updated_at", "2018-02-13 23:44:50.626756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4936260], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4936260], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "df8be7e89d3aeb7267a0bb21de0e18bd"], ["created_at", "2018-02-13 23:44:50.629650"], ["updated_at", "2018-02-13 23:44:50.629650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23645933], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 23645933], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "inactive"], ["sis_id", "f97fa1236b3fdf5f4ac4a8a4cf973623"], ["created_at", "2018-02-13 23:44:50.631946"], ["updated_at", "2018-02-13 23:44:50.631946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 535ce808-fc43-453b-a7a9-15f8206cd9e3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.633532"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:44:50.633934"], ["updated_at", "2018-02-13 23:44:50.633934"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:44:50.639311' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:44:50.639498' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.640737"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.641051"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [535ce808-fc43-453b-a7a9-15f8206cd9e3] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 535ce808-fc43-453b-a7a9-15f8206cd9e3) from Async(default) in 8.82ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 06087775-b120-4c72-a84d-d9e1710d7a6b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.646084"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:44:50.646479"], ["updated_at", "2018-02-13 23:44:50.646479"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.648455"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.648706"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06087775-b120-4c72-a84d-d9e1710d7a6b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 06087775-b120-4c72-a84d-d9e1710d7a6b) from Async(default) in 4.06ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 594a7886-f5b1-4bea-8358-6d1d0cf7855b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.668776"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.669330"], ["updated_at", "2018-02-13 23:44:50.669330"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:44:50.694887"], ["updated_at", "2018-02-13 23:44:50.694887"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:44:50.709481"], ["updated_at", "2018-02-13 23:44:50.709481"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (7, 8)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.715252"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.715606"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [594a7886-f5b1-4bea-8358-6d1d0cf7855b] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 594a7886-f5b1-4bea-8358-6d1d0cf7855b) from Async(default) in 48.27ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e2f92dba-423b-48e1-99b9-57b1e497b6cc) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.723142"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.723767"], ["updated_at", "2018-02-13 23:44:50.723767"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3f678be0-8a0a-42f0-a191-8cba71300e8a) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.727411"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.727710"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e2f92dba-423b-48e1-99b9-57b1e497b6cc] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e2f92dba-423b-48e1-99b9-57b1e497b6cc) from Async(default) in 6.24ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 53ef9880-0056-49ec-baed-9810bdba8b12) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.734430"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.734825"], ["updated_at", "2018-02-13 23:44:50.734825"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:44:50.742196"], ["updated_at", "2018-02-13 23:44:50.742196"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.745739"], ["updated_at", "2018-02-13 23:44:50.745739"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.749232"], ["updated_at", "2018-02-13 23:44:50.749232"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:44:50.761997"], ["updated_at", "2018-02-13 23:44:50.761997"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:44:50.766754"], ["updated_at", "2018-02-13 23:44:50.766754"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.772192"], ["updated_at", "2018-02-13 23:44:50.772192"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.774235"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.774518"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [53ef9880-0056-49ec-baed-9810bdba8b12] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 53ef9880-0056-49ec-baed-9810bdba8b12) from Async(default) in 41.9ms  (0.7ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 4a2c9e84-0923-400e-a25d-d2fdae4c74f0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:44:50.783001"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:44:50.783382"], ["updated_at", "2018-02-13 23:44:50.783382"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9fabe819-4913-4494-bf6e-998980fc4463) to Async(default) at 2018-02-13 23:45:20 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:44:50.787675"], ["status", "success"], ["updated_at", "2018-02-13 23:44:50.787945"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4a2c9e84-0923-400e-a25d-d2fdae4c74f0] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 4a2c9e84-0923-400e-a25d-d2fdae4c74f0) from Async(default) in 6.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 70476772], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 70476772], ["role_name", "Cool Role"], ["canvas_role_id", 10755922], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.794957"], ["updated_at", "2018-02-13 23:44:50.794957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 71882175], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 71882175], ["role_name", "Cool Role"], ["canvas_role_id", 25324479], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.824359"], ["updated_at", "2018-02-13 23:44:50.824359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 71882175], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.838143"], ["updated_at", "2018-02-13 23:44:50.838143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 40562402], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:50.845991"], ["updated_at", "2018-02-13 23:44:50.845991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 14], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:44:50.850273"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (5.1ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:44:50.888440"], ["unlock_at", "2018-02-12 23:44:50.888551"], ["lock_at", "2018-03-06 23:44:50.888592"], ["created_at", "2018-02-13 23:44:50.895230"], ["updated_at", "2018-02-13 23:44:50.895230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:44:50.900924"], ["unlock_at", "2018-02-12 23:44:50.900991"], ["lock_at", "2018-03-06 23:44:50.901030"], ["created_at", "2018-02-13 23:44:50.901809"], ["updated_at", "2018-02-13 23:44:50.901809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:44:50.907997"], ["unlock_at", "2018-02-12 23:44:50.908127"], ["lock_at", "2018-03-06 23:44:50.908167"], ["created_at", "2018-02-13 23:44:50.909181"], ["updated_at", "2018-02-13 23:44:50.909181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (3.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 92773200], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 92773200], ["sis_id", "3698e0220302659532f736bb2cefb25b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.925213"], ["end_date", "2018-03-06 23:44:50.925333"], ["created_at", "2018-02-13 23:44:50.929889"], ["updated_at", "2018-02-13 23:44:50.929889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (3.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60821469], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60821469], ["sis_id", "85998cbcaeacbeeaa74c2a0de8de888b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.931610"], ["end_date", "2018-03-06 23:44:50.931692"], ["created_at", "2018-02-13 23:44:50.940530"], ["updated_at", "2018-02-13 23:44:50.940530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:44:50.942562"], ["unlock_at", "2018-02-12 23:44:50.942649"], ["lock_at", "2018-03-06 23:44:50.942689"], ["created_at", "2018-02-13 23:44:50.943725"], ["updated_at", "2018-02-13 23:44:50.943725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 10], ["LIMIT", 1]] SQL (0.3ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 60821469], ["context_type", "Course"], ["updated_at", "2018-02-13 23:44:50.946191"], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60821469], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89000985], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 89000985], ["sis_id", "e16d3f4ef9791fc1476572475a1525be"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.962102"], ["end_date", "2018-03-06 23:44:50.962190"], ["created_at", "2018-02-13 23:44:50.963319"], ["updated_at", "2018-02-13 23:44:50.963319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98139397], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 98139397], ["sis_id", "911b27adbaadc10e7165eb4028205ca6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.969008"], ["end_date", "2018-03-06 23:44:50.969080"], ["created_at", "2018-02-13 23:44:50.969903"], ["updated_at", "2018-02-13 23:44:50.969903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98139397], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23887158], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23887158], ["sis_id", "e7d3dad7efed90e96746228ddf4f4986"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.975402"], ["end_date", "2018-03-06 23:44:50.975474"], ["created_at", "2018-02-13 23:44:50.976361"], ["updated_at", "2018-02-13 23:44:50.976361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 42987400], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 42987400], ["sis_id", "c59101f6fba9e8c4f65c738efdcf54c2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.979961"], ["end_date", "2018-03-06 23:44:50.980034"], ["created_at", "2018-02-13 23:44:50.981031"], ["updated_at", "2018-02-13 23:44:50.981031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 72575338], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 72575338], ["sis_id", "73c7e1118f945f7bbb8c05e7f5821137"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.986258"], ["end_date", "2018-03-06 23:44:50.986358"], ["created_at", "2018-02-13 23:44:50.987416"], ["updated_at", "2018-02-13 23:44:50.987416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 53182871], ["LIMIT", 1]] SQL (2.8ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 53182871], ["sis_id", "83b37931876e63a70013a4af02c67d80"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:50.992166"], ["end_date", "2018-03-06 23:44:50.992257"], ["created_at", "2018-02-13 23:44:50.993245"], ["updated_at", "2018-02-13 23:44:50.993245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 81140202], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 81140202], ["sis_id", "9abfc3baa5436d5c90d678cbc5529d82"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:44:51.005744"], ["end_date", "2018-03-06 23:44:51.005830"], ["created_at", "2018-02-13 23:44:51.006806"], ["updated_at", "2018-02-13 23:44:51.006806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 30727895], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 30727895], ["created_at", "2018-02-13 23:44:51.032828"], ["updated_at", "2018-02-13 23:44:51.032828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 35597109], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 35597109], ["created_at", "2018-02-13 23:44:51.047991"], ["updated_at", "2018-02-13 23:44:51.047991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 35597109], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 61691403], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 61691403], ["created_at", "2018-02-13 23:44:51.056071"], ["updated_at", "2018-02-13 23:44:51.056071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 72739616], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 72739616], ["created_at", "2018-02-13 23:44:51.061822"], ["updated_at", "2018-02-13 23:44:51.061822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 22851079], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 22851079], ["created_at", "2018-02-13 23:44:51.066831"], ["updated_at", "2018-02-13 23:44:51.066831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 25084228], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 25084228], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:51.071926"], ["updated_at", "2018-02-13 23:44:51.071926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 12205999], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 12205999], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:51.077221"], ["updated_at", "2018-02-13 23:44:51.077221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 12205999], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:44:51.087253"], ["updated_at", "2018-02-13 23:44:51.087253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (2.0ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:44:51.105965"], ["updated_at", "2018-02-13 23:44:51.105965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:44:51.111952"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.9ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 39080091], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 39080091], ["created_at", "2018-02-13 23:44:51.133591"], ["updated_at", "2018-02-13 23:44:51.133591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62049659], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62049659], ["created_at", "2018-02-13 23:44:51.150288"], ["updated_at", "2018-02-13 23:44:51.150288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62049659], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.8ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 54283129], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 54283129], ["created_at", "2018-02-13 23:44:51.158519"], ["updated_at", "2018-02-13 23:44:51.158519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76871471], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76871471], ["created_at", "2018-02-13 23:44:51.163472"], ["updated_at", "2018-02-13 23:44:51.163472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 53416605], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 53416605], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "d13dc690606bb924a6be5241f59c4ea3"], ["created_at", "2018-02-13 23:44:51.213524"], ["updated_at", "2018-02-13 23:44:51.213524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27264064], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27264064], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "73a3a5416058927b8eb3b66d7439c828"], ["created_at", "2018-02-13 23:44:51.219646"], ["updated_at", "2018-02-13 23:44:51.219646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27264064], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68617023], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68617023], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "683918703a097468d70077f0eda08599"], ["created_at", "2018-02-13 23:44:51.226202"], ["updated_at", "2018-02-13 23:44:51.226202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 58925833], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 58925833], ["name", "Cool Term"], ["start_at", "2018-02-11 23:44:51.229950"], ["end_at", "2018-02-16 23:44:51.230006"], ["workflow_state", "active"], ["sis_id", "51dbe8f98f6687d05ee7feac2d334708"], ["created_at", "2018-02-13 23:44:51.231206"], ["updated_at", "2018-02-13 23:44:51.231206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55107384], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 55107384], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "inactive"], ["sis_id", "97ea8ab0180b42c84edc67c41bdda148"], ["created_at", "2018-02-13 23:44:51.233154"], ["updated_at", "2018-02-13 23:44:51.233154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 74446217], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 74446217], ["name", "Cool Term"], ["start_at", "2017-12-13 23:44:51.234099"], ["end_at", "2018-01-13 23:44:51.234148"], ["workflow_state", "active"], ["sis_id", "3c86530c279cf8d911eb20fe54b59b7e"], ["created_at", "2018-02-13 23:44:51.235539"], ["updated_at", "2018-02-13 23:44:51.235539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4679157], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4679157], ["name", "Cool Term"], ["start_at", "2018-08-13 23:44:51.236615"], ["end_at", "2019-02-13 23:44:51.236680"], ["workflow_state", "active"], ["sis_id", "204caf43922ddc195fa96da0d32df5ad"], ["created_at", "2018-02-13 23:44:51.241439"], ["updated_at", "2018-02-13 23:44:51.241439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:44:51.246338' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:44:51.246496' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:44:51.253876"], ["updated_at", "2018-02-13 23:44:51.253876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:44:49.294958"], ["end_at", "2018-02-16 23:44:49.295143"], ["workflow_state", "active"], ["sis_id", "cd0f109873d651fea332d5537f872fc0"], ["created_at", "2018-02-13 23:44:51.260775"], ["updated_at", "2018-02-13 23:44:51.260775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:44:51.264130"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (11.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 68425212], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 68425212], ["sis_id", "6def860bcc3b4ae58735d55e32e56982"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:51.291158"], ["updated_at", "2018-02-13 23:44:51.291158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65535167], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65535167], ["sis_id", "3dcd74bc9ab06dddc90cee8c4e585c28"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:51.298142"], ["updated_at", "2018-02-13 23:44:51.298142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (1.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65535167], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 94612125], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 94612125], ["sis_id", "cd14fbf71ce63fc4ecd6e8b0a95c7149"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:51.306524"], ["updated_at", "2018-02-13 23:44:51.306524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 31172206], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 31172206], ["sis_id", "f2372f8c8c3a36102a6debc5df666ce1"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:44:51.310992"], ["updated_at", "2018-02-13 23:44:51.310992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:44:51.318431','2018-02-13 23:44:51.318431'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:44:51.318431','2018-02-13 23:44:51.318431') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:44:51.325494','2018-02-13 23:44:51.325494'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:44:51.325494','2018-02-13 23:44:51.325494') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:44:51.333007','2018-02-13 23:44:51.333007'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:44:51.333007','2018-02-13 23:44:51.333007') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:44:51.350656','2018-02-13 23:44:51.350656'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:44:51.350656','2018-02-13 23:44:51.350656') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:44:51.359184','2018-02-13 23:44:51.359184'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:44:51.359184','2018-02-13 23:44:51.359184') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:44:51.367021','2018-02-13 23:44:51.367021') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:44:51.376252','2018-02-13 23:44:51.376252'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:44:51.376252','2018-02-13 23:44:51.376252') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:44:51.377865','2018-02-13 23:44:51.377865'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:44:51.377865','2018-02-13 23:44:51.377865') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (11.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c] Performing GoodJob (Job ID: c729df87-9d6b-4937-ad86-3d8e9917a77c) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c] SQL (0.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.468146"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:49:22.491699"], ["updated_at", "2018-02-13 23:49:22.491699"]] [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.494097"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.494352"], ["id", 37]] [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c729df87-9d6b-4937-ad86-3d8e9917a77c] Performed GoodJob (Job ID: c729df87-9d6b-4937-ad86-3d8e9917a77c) from Async(default) in 27.6ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98] Performing BadJob (Job ID: 9003bbe1-4206-46e4-861a-b16e9f7c8c98) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.503840"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:49:22.504298"], ["updated_at", "2018-02-13 23:49:22.504298"]] [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:49:22.506074"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:49:22.506381"], ["id", 38]] [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9003bbe1-4206-46e4-861a-b16e9f7c8c98] Error performing BadJob (Job ID: 9003bbe1-4206-46e4-861a-b16e9f7c8c98) from Async(default) in 4.54ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4] Performing CanvasSync::Jobs::ReportChecker (Job ID: dbf1d53a-ef16-424f-b3d6-00869d6ae9b4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.513572"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.513967"], ["updated_at", "2018-02-13 23:49:22.513967"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 39]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [dbf1d53a-ef16-424f-b3d6-00869d6ae9b4] Performed CanvasSync::Jobs::ReportChecker (Job ID: dbf1d53a-ef16-424f-b3d6-00869d6ae9b4) from Async(default) in 9.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88] Performing CanvasSync::Jobs::ReportChecker (Job ID: f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.526801"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.527224"], ["updated_at", "2018-02-13 23:49:22.527224"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: bf753cb4-6623-4691-ab4b-8d11901d189b) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 40]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88] Performed CanvasSync::Jobs::ReportChecker (Job ID: f9cdcfe1-fcd3-44b3-9b46-fb7d14475a88) from Async(default) in 19.68ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a] Performing CanvasSync::Jobs::ReportChecker (Job ID: 75d74d80-2fdb-46dc-8ab7-b363c3a0221a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.550695"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.551173"], ["updated_at", "2018-02-13 23:49:22.551173"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:49:22.554607"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:49:22.554914"], ["id", 41]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [75d74d80-2fdb-46dc-8ab7-b363c3a0221a] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 75d74d80-2fdb-46dc-8ab7-b363c3a0221a) from Async(default) in 6.2ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 9605a4d5-f09a-4e06-90f6-24b7815435a0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.560198"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.560537"], ["updated_at", "2018-02-13 23:49:22.560537"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:49:22.562468"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0] SQL (2.8ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.587918"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.588452"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [9605a4d5-f09a-4e06-90f6-24b7815435a0] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 9605a4d5-f09a-4e06-90f6-24b7815435a0) from Async(default) in 38.09ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd] Performing CanvasSync::Jobs::ReportStarter (Job ID: 88817dc3-b47c-49f6-acb6-addc35a101bd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.603284"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:49:22.603727"], ["updated_at", "2018-02-13 23:49:22.603727"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2b61d671-80fc-4d5d-a52a-3f1a89e389bf) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.606564"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.606946"], ["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [88817dc3-b47c-49f6-acb6-addc35a101bd] Performed CanvasSync::Jobs::ReportStarter (Job ID: 88817dc3-b47c-49f6-acb6-addc35a101bd) from Async(default) in 5.16ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61] Performing CanvasSync::Jobs::ReportStarter (Job ID: 21ee59d9-c69c-4424-a78a-255723025a61) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.612896"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:49:22.613288"], ["updated_at", "2018-02-13 23:49:22.613288"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.615685"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.615983"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [21ee59d9-c69c-4424-a78a-255723025a61] Performed CanvasSync::Jobs::ReportStarter (Job ID: 21ee59d9-c69c-4424-a78a-255723025a61) from Async(default) in 4.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920] Performing CanvasSync::Jobs::ReportStarter (Job ID: 4912bfa8-eaaa-4796-b13c-4f8225854920) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.620863"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:49:22.621184"], ["updated_at", "2018-02-13 23:49:22.621184"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.623320"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.623544"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [4912bfa8-eaaa-4796-b13c-4f8225854920] Performed CanvasSync::Jobs::ReportStarter (Job ID: 4912bfa8-eaaa-4796-b13c-4f8225854920) from Async(default) in 4.01ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (11.1ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 978b34f7-afb1-4e7e-a206-e2b293a053d1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.641568"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.641984"], ["updated_at", "2018-02-13 23:49:22.641984"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.658056"], ["updated_at", "2018-02-13 23:49:22.658056"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.660823"], ["updated_at", "2018-02-13 23:49:22.660823"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.663394"], ["updated_at", "2018-02-13 23:49:22.663394"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (15, 16, 17)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.665209"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.665538"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [978b34f7-afb1-4e7e-a206-e2b293a053d1] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 978b34f7-afb1-4e7e-a206-e2b293a053d1) from Async(default) in 25.26ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 84d8c917-45fc-42bf-bdf0-f5e3366a7368) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.670995"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.671350"], ["updated_at", "2018-02-13 23:49:22.671350"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fa177e3d-f5a2-45aa-865e-63d685dfedcd) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.673667"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.673926"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [84d8c917-45fc-42bf-bdf0-f5e3366a7368] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 84d8c917-45fc-42bf-bdf0-f5e3366a7368) from Async(default) in 4.17ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 54dbcd40-9581-4b8f-96f0-8d032a6d7dce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.678112"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.678466"], ["updated_at", "2018-02-13 23:49:22.678466"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f68109bf-9803-4297-945b-136ee978bf2e) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.681228"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.681593"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [54dbcd40-9581-4b8f-96f0-8d032a6d7dce] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 54dbcd40-9581-4b8f-96f0-8d032a6d7dce) from Async(default) in 4.97ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 15824704], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 15824704], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "261243926fc31998f1e93c988eb4d4d3"], ["created_at", "2018-02-13 23:49:22.698250"], ["updated_at", "2018-02-13 23:49:22.698250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45282410], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45282410], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "20a2f16a21502fe095703b19a2257480"], ["created_at", "2018-02-13 23:49:22.700824"], ["updated_at", "2018-02-13 23:49:22.700824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (4.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68299560], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68299560], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "inactive"], ["sis_id", "e4c9c711b946204164e06871fe34e4dd"], ["created_at", "2018-02-13 23:49:22.709765"], ["updated_at", "2018-02-13 23:49:22.709765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 51073e14-dbf3-43cc-809e-dee6c92fe5fc) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.711961"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:49:22.712442"], ["updated_at", "2018-02-13 23:49:22.712442"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:49:22.714663' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:49:22.714885' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.716175"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.716471"], ["id", 49]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [51073e14-dbf3-43cc-809e-dee6c92fe5fc] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 51073e14-dbf3-43cc-809e-dee6c92fe5fc) from Async(default) in 5.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b6f878f2-4ef5-4f71-af60-116389cb1b07) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.722409"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:49:22.722751"], ["updated_at", "2018-02-13 23:49:22.722751"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.724380"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.724614"], ["id", 50]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b6f878f2-4ef5-4f71-af60-116389cb1b07] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b6f878f2-4ef5-4f71-af60-116389cb1b07) from Async(default) in 3.36ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 01c57e55-e57e-4264-b5f8-3391b4404de9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.734276"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.734629"], ["updated_at", "2018-02-13 23:49:22.734629"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] SQL (1.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:49:22.749969"], ["updated_at", "2018-02-13 23:49:22.749969"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:49:22.769617"], ["updated_at", "2018-02-13 23:49:22.769617"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (13, 14)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.774264"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.774595"], ["id", 51]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [01c57e55-e57e-4264-b5f8-3391b4404de9] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 01c57e55-e57e-4264-b5f8-3391b4404de9) from Async(default) in 42.95ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6578ee00-2130-4c5b-bcf0-13ec90cdd6fc) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.782585"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.783092"], ["updated_at", "2018-02-13 23:49:22.783092"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3bd3ed88-79d5-4135-98bd-70991eaa5c9d) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.785887"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.786223"], ["id", 52]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6578ee00-2130-4c5b-bcf0-13ec90cdd6fc] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6578ee00-2130-4c5b-bcf0-13ec90cdd6fc) from Async(default) in 7.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 2ad760b2-6d36-4ad7-83b1-b24574c7f2fe) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.794345"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.794691"], ["updated_at", "2018-02-13 23:49:22.794691"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:49:22.800878"], ["updated_at", "2018-02-13 23:49:22.800878"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.803514"], ["updated_at", "2018-02-13 23:49:22.803514"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.807685"], ["updated_at", "2018-02-13 23:49:22.807685"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:49:22.810542"], ["updated_at", "2018-02-13 23:49:22.810542"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:49:22.813198"], ["updated_at", "2018-02-13 23:49:22.813198"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.823888"], ["updated_at", "2018-02-13 23:49:22.823888"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.825001"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.825381"], ["id", 53]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [2ad760b2-6d36-4ad7-83b1-b24574c7f2fe] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 2ad760b2-6d36-4ad7-83b1-b24574c7f2fe) from Async(default) in 32.55ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 68f420d4-6287-4c8e-949b-1752d88182d4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:49:22.831315"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:49:22.831727"], ["updated_at", "2018-02-13 23:49:22.831727"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5774e0a1-d432-4144-81e8-417f8860c5dd) to Async(default) at 2018-02-13 23:49:52 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:49:22.835264"], ["status", "success"], ["updated_at", "2018-02-13 23:49:22.835599"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [68f420d4-6287-4c8e-949b-1752d88182d4] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 68f420d4-6287-4c8e-949b-1752d88182d4) from Async(default) in 5.43ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 9435522], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 9435522], ["role_name", "Cool Role"], ["canvas_role_id", 44909192], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.840820"], ["updated_at", "2018-02-13 23:49:22.840820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 35480767], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 35480767], ["role_name", "Cool Role"], ["canvas_role_id", 283743], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.853265"], ["updated_at", "2018-02-13 23:49:22.853265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 35480767], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.860782"], ["updated_at", "2018-02-13 23:49:22.860782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 95888807], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:22.874290"], ["updated_at", "2018-02-13 23:49:22.874290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 21], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:49:22.878040"], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (2.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:49:22.900629"], ["unlock_at", "2018-02-12 23:49:22.900727"], ["lock_at", "2018-03-06 23:49:22.900766"], ["created_at", "2018-02-13 23:49:22.904300"], ["updated_at", "2018-02-13 23:49:22.904300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:49:22.909886"], ["unlock_at", "2018-02-12 23:49:22.909959"], ["lock_at", "2018-03-06 23:49:22.910032"], ["created_at", "2018-02-13 23:49:22.910994"], ["updated_at", "2018-02-13 23:49:22.910994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.7ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:49:22.918155"], ["unlock_at", "2018-02-12 23:49:22.918243"], ["lock_at", "2018-03-06 23:49:22.918281"], ["created_at", "2018-02-13 23:49:22.922891"], ["updated_at", "2018-02-13 23:49:22.922891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43710187], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43710187], ["sis_id", "22eda4fd888cee308b46ce8c2c649aa9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.944615"], ["end_date", "2018-03-06 23:49:22.944726"], ["created_at", "2018-02-13 23:49:22.948672"], ["updated_at", "2018-02-13 23:49:22.948672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 36811979], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 36811979], ["sis_id", "c5bf3d0f6b9e21c736aafb451212414b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.950475"], ["end_date", "2018-03-06 23:49:22.950536"], ["created_at", "2018-02-13 23:49:22.951303"], ["updated_at", "2018-02-13 23:49:22.951303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:49:22.952403"], ["unlock_at", "2018-02-12 23:49:22.952457"], ["lock_at", "2018-03-06 23:49:22.952496"], ["created_at", "2018-02-13 23:49:22.953271"], ["updated_at", "2018-02-13 23:49:22.953271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 16], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 36811979], ["context_type", "Course"], ["updated_at", "2018-02-13 23:49:22.955056"], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (3.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 36811979], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 49170632], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 49170632], ["sis_id", "18326b6dd17f4af1451179a01c854a36"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.978445"], ["end_date", "2018-03-06 23:49:22.978543"], ["created_at", "2018-02-13 23:49:22.979714"], ["updated_at", "2018-02-13 23:49:22.979714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68351611], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 68351611], ["sis_id", "d6ba034846f20888dc4e82c47ac4198f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.987304"], ["end_date", "2018-03-06 23:49:22.987380"], ["created_at", "2018-02-13 23:49:22.988385"], ["updated_at", "2018-02-13 23:49:22.988385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68351611], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 71109877], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 71109877], ["sis_id", "e3dbd60aa945e476648e9f917ea6fbf6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.994401"], ["end_date", "2018-03-06 23:49:22.994470"], ["created_at", "2018-02-13 23:49:22.995332"], ["updated_at", "2018-02-13 23:49:22.995332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6522510], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6522510], ["sis_id", "1add74b82a3fdabeb9aab71917a61510"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:22.999504"], ["end_date", "2018-03-06 23:49:22.999582"], ["created_at", "2018-02-13 23:49:23.000414"], ["updated_at", "2018-02-13 23:49:23.000414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 63613978], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 63613978], ["sis_id", "3e6361dad0504ee2467bf4f5557df292"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:23.004460"], ["end_date", "2018-03-06 23:49:23.004531"], ["created_at", "2018-02-13 23:49:23.005330"], ["updated_at", "2018-02-13 23:49:23.005330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98397038], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 98397038], ["sis_id", "48b2f97e115cf025a2deba9f5ca327a3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:23.008997"], ["end_date", "2018-03-06 23:49:23.009060"], ["created_at", "2018-02-13 23:49:23.009887"], ["updated_at", "2018-02-13 23:49:23.009887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27279338], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 27279338], ["sis_id", "c8fc65ed01e4bd9ca99f21149dda50cb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:49:23.021140"], ["end_date", "2018-03-06 23:49:23.021217"], ["created_at", "2018-02-13 23:49:23.022408"], ["updated_at", "2018-02-13 23:49:23.022408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 63015594], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 63015594], ["created_at", "2018-02-13 23:49:23.044115"], ["updated_at", "2018-02-13 23:49:23.044115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 39763986], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 39763986], ["created_at", "2018-02-13 23:49:23.050576"], ["updated_at", "2018-02-13 23:49:23.050576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 39763986], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 10571609], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 10571609], ["created_at", "2018-02-13 23:49:23.065093"], ["updated_at", "2018-02-13 23:49:23.065093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75914660], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 75914660], ["created_at", "2018-02-13 23:49:23.070249"], ["updated_at", "2018-02-13 23:49:23.070249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 63714806], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 63714806], ["created_at", "2018-02-13 23:49:23.075950"], ["updated_at", "2018-02-13 23:49:23.075950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 27468107], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 27468107], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:23.081705"], ["updated_at", "2018-02-13 23:49:23.081705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 75893438], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 75893438], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:23.091138"], ["updated_at", "2018-02-13 23:49:23.091138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 75893438], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:49:23.103402"], ["updated_at", "2018-02-13 23:49:23.103402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:49:23.123612"], ["updated_at", "2018-02-13 23:49:23.123612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:49:23.129969"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (5.0ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 84636409], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 84636409], ["created_at", "2018-02-13 23:49:23.160408"], ["updated_at", "2018-02-13 23:49:23.160408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73429355], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 73429355], ["created_at", "2018-02-13 23:49:23.167756"], ["updated_at", "2018-02-13 23:49:23.167756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73429355], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 66320475], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 66320475], ["created_at", "2018-02-13 23:49:23.175484"], ["updated_at", "2018-02-13 23:49:23.175484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64499872], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64499872], ["created_at", "2018-02-13 23:49:23.179941"], ["updated_at", "2018-02-13 23:49:23.179941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 70089647], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 70089647], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "d71313797b8ba2346bc8f161c7a4d3a7"], ["created_at", "2018-02-13 23:49:23.225001"], ["updated_at", "2018-02-13 23:49:23.225001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43499441], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 43499441], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "5e6904cd0ae0f6eb038e0911b6ba48fc"], ["created_at", "2018-02-13 23:49:23.231834"], ["updated_at", "2018-02-13 23:49:23.231834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43499441], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 11160940], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 11160940], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "b5ac8e91bb585fd471c65b2c645b88b1"], ["created_at", "2018-02-13 23:49:23.238227"], ["updated_at", "2018-02-13 23:49:23.238227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68463497], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68463497], ["name", "Cool Term"], ["start_at", "2018-02-11 23:49:23.241872"], ["end_at", "2018-02-16 23:49:23.241930"], ["workflow_state", "active"], ["sis_id", "ead10f5ea114a7902d90ad9fe2d1a794"], ["created_at", "2018-02-13 23:49:23.243044"], ["updated_at", "2018-02-13 23:49:23.243044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34721598], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34721598], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "inactive"], ["sis_id", "fb0259e1d4e33735e1b6372182d3cfb6"], ["created_at", "2018-02-13 23:49:23.244882"], ["updated_at", "2018-02-13 23:49:23.244882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 39174660], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 39174660], ["name", "Cool Term"], ["start_at", "2017-12-13 23:49:23.245798"], ["end_at", "2018-01-13 23:49:23.245848"], ["workflow_state", "active"], ["sis_id", "3d153cf2118b2250778f292780358bec"], ["created_at", "2018-02-13 23:49:23.246771"], ["updated_at", "2018-02-13 23:49:23.246771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35716913], ["LIMIT", 1]] SQL (6.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35716913], ["name", "Cool Term"], ["start_at", "2018-08-13 23:49:23.248118"], ["end_at", "2019-02-13 23:49:23.248525"], ["workflow_state", "active"], ["sis_id", "30f883029e84846e79286ad97fd39b99"], ["created_at", "2018-02-13 23:49:23.250067"], ["updated_at", "2018-02-13 23:49:23.250067"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:49:23.260351' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:49:23.260596' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:49:23.268567"], ["updated_at", "2018-02-13 23:49:23.268567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:49:21.373820"], ["end_at", "2018-02-16 23:49:21.374007"], ["workflow_state", "active"], ["sis_id", "45d3a32121c35574cd4a767c47a4e5ab"], ["created_at", "2018-02-13 23:49:23.275887"], ["updated_at", "2018-02-13 23:49:23.275887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:49:23.279170"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 47349970], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 47349970], ["sis_id", "d0b351e9f570e6a344cae2b3770da108"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:49:23.295970"], ["updated_at", "2018-02-13 23:49:23.295970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 11349314], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 11349314], ["sis_id", "9eba1538744ddcfdb219368752c6de54"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:49:23.303471"], ["updated_at", "2018-02-13 23:49:23.303471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (3.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 11349314], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 85607643], ["LIMIT", 1]] SQL (5.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 85607643], ["sis_id", "731924102c8624cdcfacdb20bf70607d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:49:23.320235"], ["updated_at", "2018-02-13 23:49:23.320235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 80713628], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 80713628], ["sis_id", "74feda8232b71f30a9e311eb8b1d5c8d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:49:23.335224"], ["updated_at", "2018-02-13 23:49:23.335224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:49:23.343143','2018-02-13 23:49:23.343143'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:49:23.343143','2018-02-13 23:49:23.343143') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:49:23.349883','2018-02-13 23:49:23.349883'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:49:23.349883','2018-02-13 23:49:23.349883') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:49:23.364993','2018-02-13 23:49:23.364993'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:49:23.364993','2018-02-13 23:49:23.364993') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (1.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:49:23.374680','2018-02-13 23:49:23.374680'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:49:23.374680','2018-02-13 23:49:23.374680') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:49:23.383614','2018-02-13 23:49:23.383614'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:49:23.383614','2018-02-13 23:49:23.383614') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:49:23.390697','2018-02-13 23:49:23.390697') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:49:23.399175','2018-02-13 23:49:23.399175'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:49:23.399175','2018-02-13 23:49:23.399175') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:49:23.400971','2018-02-13 23:49:23.400971'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:49:23.400971','2018-02-13 23:49:23.400971') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.0ms) SELECT COUNT(*) FROM "submissions"  (0.2ms) ROLLBACK  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750] Performing GoodJob (Job ID: fa116089-8b0b-4f29-b835-c784965fb750) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750] SQL (1.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.230520"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:50:39.239939"], ["updated_at", "2018-02-13 23:50:39.239939"]] [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750]  (1.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.245301"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.249778"], ["id", 55]] [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fa116089-8b0b-4f29-b835-c784965fb750] Performed GoodJob (Job ID: fa116089-8b0b-4f29-b835-c784965fb750) from Async(default) in 20.8ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412] Performing BadJob (Job ID: d8e7d8bc-1d37-4eee-9359-9d5d6de66412) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.257807"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:50:39.258264"], ["updated_at", "2018-02-13 23:50:39.258264"]] [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:50:39.259865"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:50:39.260139"], ["id", 56]] [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [d8e7d8bc-1d37-4eee-9359-9d5d6de66412] Error performing BadJob (Job ID: d8e7d8bc-1d37-4eee-9359-9d5d6de66412) from Async(default) in 4.13ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945] Performing CanvasSync::Jobs::ReportChecker (Job ID: 990f1cae-614c-4df9-bd99-aa8b9581c945) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.267064"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.267381"], ["updated_at", "2018-02-13 23:50:39.267381"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 57]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [990f1cae-614c-4df9-bd99-aa8b9581c945] Performed CanvasSync::Jobs::ReportChecker (Job ID: 990f1cae-614c-4df9-bd99-aa8b9581c945) from Async(default) in 13.05ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214] Performing CanvasSync::Jobs::ReportChecker (Job ID: a1e56838-3513-4297-80db-51dbc41da214) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.282907"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.283261"], ["updated_at", "2018-02-13 23:50:39.283261"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e0c10e36-08ab-44a3-bfb5-d97a75c71877) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 58]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a1e56838-3513-4297-80db-51dbc41da214] Performed CanvasSync::Jobs::ReportChecker (Job ID: a1e56838-3513-4297-80db-51dbc41da214) from Async(default) in 4.84ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30] Performing CanvasSync::Jobs::ReportChecker (Job ID: a94dba67-f04e-4180-879e-99a203158c30) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.291311"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.291654"], ["updated_at", "2018-02-13 23:50:39.291654"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:50:39.293921"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:50:39.294197"], ["id", 59]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a94dba67-f04e-4180-879e-99a203158c30] Error performing CanvasSync::Jobs::ReportChecker (Job ID: a94dba67-f04e-4180-879e-99a203158c30) from Async(default) in 5.02ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.307942"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.308381"], ["updated_at", "2018-02-13 23:50:39.308381"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:50:39.310608"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.333236"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.333601"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: c42aaa46-bcb3-4e42-b30c-4f8714a6b3b1) from Async(default) in 27.09ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9dd27bd8-557b-4344-86db-4b493a35f57a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.338888"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:50:39.339216"], ["updated_at", "2018-02-13 23:50:39.339216"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 173a8c9f-3f39-4c35-960d-581904aee3d8) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.341775"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.342100"], ["id", 61]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9dd27bd8-557b-4344-86db-4b493a35f57a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9dd27bd8-557b-4344-86db-4b493a35f57a) from Async(default) in 4.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4] Performing CanvasSync::Jobs::ReportStarter (Job ID: 7b91023f-b398-4689-84df-54794b6751d4) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.348051"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:50:39.348469"], ["updated_at", "2018-02-13 23:50:39.348469"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.350973"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.351260"], ["id", 62]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7b91023f-b398-4689-84df-54794b6751d4] Performed CanvasSync::Jobs::ReportStarter (Job ID: 7b91023f-b398-4689-84df-54794b6751d4) from Async(default) in 4.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313] Performing CanvasSync::Jobs::ReportStarter (Job ID: a07864f3-4598-45f9-9afa-a57515965313) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.356930"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:50:39.357489"], ["updated_at", "2018-02-13 23:50:39.357489"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.361351"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.361734"], ["id", 63]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a07864f3-4598-45f9-9afa-a57515965313] Performed CanvasSync::Jobs::ReportStarter (Job ID: a07864f3-4598-45f9-9afa-a57515965313) from Async(default) in 6.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 175cf22a-8b6b-487f-9506-b4057556b5ce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.378954"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.379463"], ["updated_at", "2018-02-13 23:50:39.379463"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.395754"], ["updated_at", "2018-02-13 23:50:39.395754"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.398574"], ["updated_at", "2018-02-13 23:50:39.398574"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.401053"], ["updated_at", "2018-02-13 23:50:39.401053"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.3ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (22, 23, 24)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.403082"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.403485"], ["id", 64]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [175cf22a-8b6b-487f-9506-b4057556b5ce] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 175cf22a-8b6b-487f-9506-b4057556b5ce) from Async(default) in 26.24ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 78755081-d75a-45f7-9c0a-231674bf0b7f) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.410041"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.410385"], ["updated_at", "2018-02-13 23:50:39.410385"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 74a99829-76ce-4657-aa05-f092e8a2859c) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.412916"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.413187"], ["id", 65]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [78755081-d75a-45f7-9c0a-231674bf0b7f] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 78755081-d75a-45f7-9c0a-231674bf0b7f) from Async(default) in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 65db5416-8eb7-4eb2-84fd-6686d144d017) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.417918"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.418250"], ["updated_at", "2018-02-13 23:50:39.418250"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0ad93ca0-73cb-490f-90e6-27f1d2f32621) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.420957"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.421270"], ["id", 66]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [65db5416-8eb7-4eb2-84fd-6686d144d017] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 65db5416-8eb7-4eb2-84fd-6686d144d017) from Async(default) in 4.83ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (7.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90592657], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 90592657], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "c54fbd9d80daba1518b308b0549b2d22"], ["created_at", "2018-02-13 23:50:39.447599"], ["updated_at", "2018-02-13 23:50:39.447599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41709542], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41709542], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "5165a0be878f813742c99c8e62d52c27"], ["created_at", "2018-02-13 23:50:39.451234"], ["updated_at", "2018-02-13 23:50:39.451234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61779854], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61779854], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "inactive"], ["sis_id", "02c386a2b5981ccb5f49c8bd0c9d7e03"], ["created_at", "2018-02-13 23:50:39.453295"], ["updated_at", "2018-02-13 23:50:39.453295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c7cf2207-f4e4-418c-8dcb-0aa3fff9a700) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.454746"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:50:39.455135"], ["updated_at", "2018-02-13 23:50:39.455135"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:50:39.457136' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:50:39.457357' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.459697"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.460099"], ["id", 67]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c7cf2207-f4e4-418c-8dcb-0aa3fff9a700] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c7cf2207-f4e4-418c-8dcb-0aa3fff9a700) from Async(default) in 8.58ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 340f04d7-bd0d-4ee6-8cf0-04fd7def9e39) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.466832"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:50:39.467164"], ["updated_at", "2018-02-13 23:50:39.467164"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.468815"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.469055"], ["id", 68]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [340f04d7-bd0d-4ee6-8cf0-04fd7def9e39] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 340f04d7-bd0d-4ee6-8cf0-04fd7def9e39) from Async(default) in 3.74ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: e9f1d2ce-ca96-4445-99e1-5b66f2fc207f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.477604"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.477984"], ["updated_at", "2018-02-13 23:50:39.477984"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:50:39.493407"], ["updated_at", "2018-02-13 23:50:39.493407"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (1.7ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:50:39.509861"], ["updated_at", "2018-02-13 23:50:39.509861"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (19, 20)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.514748"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.515077"], ["id", 69]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [e9f1d2ce-ca96-4445-99e1-5b66f2fc207f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: e9f1d2ce-ca96-4445-99e1-5b66f2fc207f) from Async(default) in 38.86ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (1.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 0a8b632e-126f-4f64-a618-12d6a238d590) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.521946"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.522302"], ["updated_at", "2018-02-13 23:50:39.522302"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 45450be4-2ec7-4726-b5cc-7a7ac2d4fc2a) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.527846"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.528330"], ["id", 70]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [0a8b632e-126f-4f64-a618-12d6a238d590] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 0a8b632e-126f-4f64-a618-12d6a238d590) from Async(default) in 8.14ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 3a561e2a-439a-41af-8f9b-5bf1e92adfde) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.534224"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.534567"], ["updated_at", "2018-02-13 23:50:39.534567"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:50:39.540801"], ["updated_at", "2018-02-13 23:50:39.540801"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.543478"], ["updated_at", "2018-02-13 23:50:39.543478"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.545899"], ["updated_at", "2018-02-13 23:50:39.545899"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:50:39.548937"], ["updated_at", "2018-02-13 23:50:39.548937"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:50:39.551718"], ["updated_at", "2018-02-13 23:50:39.551718"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (2.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.562889"], ["updated_at", "2018-02-13 23:50:39.562889"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.564292"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.564754"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [3a561e2a-439a-41af-8f9b-5bf1e92adfde] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 3a561e2a-439a-41af-8f9b-5bf1e92adfde) from Async(default) in 32.01ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: ce93b8ce-eb96-4a5c-a068-6acddb820a2d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:50:39.570733"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:50:39.572136"], ["updated_at", "2018-02-13 23:50:39.572136"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 02e92083-bed0-4f36-9c67-169164bb9c61) to Async(default) at 2018-02-13 23:51:09 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:50:39.575048"], ["status", "success"], ["updated_at", "2018-02-13 23:50:39.575501"], ["id", 72]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ce93b8ce-eb96-4a5c-a068-6acddb820a2d] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: ce93b8ce-eb96-4a5c-a068-6acddb820a2d) from Async(default) in 6.48ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 45920474], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 45920474], ["role_name", "Cool Role"], ["canvas_role_id", 3953761], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.581715"], ["updated_at", "2018-02-13 23:50:39.581715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 90109989], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 90109989], ["role_name", "Cool Role"], ["canvas_role_id", 99825752], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.591483"], ["updated_at", "2018-02-13 23:50:39.591483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 90109989], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.600285"], ["updated_at", "2018-02-13 23:50:39.600285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 14293518], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.617320"], ["updated_at", "2018-02-13 23:50:39.617320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 28], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:50:39.621872"], ["id", 28]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (1.6ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:50:39.670941"], ["unlock_at", "2018-02-12 23:50:39.671447"], ["lock_at", "2018-03-06 23:50:39.671492"], ["created_at", "2018-02-13 23:50:39.674927"], ["updated_at", "2018-02-13 23:50:39.674927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:50:39.685294"], ["unlock_at", "2018-02-12 23:50:39.685375"], ["lock_at", "2018-03-06 23:50:39.685421"], ["created_at", "2018-02-13 23:50:39.686917"], ["updated_at", "2018-02-13 23:50:39.686917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:50:39.696001"], ["unlock_at", "2018-02-12 23:50:39.696073"], ["lock_at", "2018-03-06 23:50:39.696112"], ["created_at", "2018-02-13 23:50:39.697333"], ["updated_at", "2018-02-13 23:50:39.697333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (1.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94254299], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 94254299], ["sis_id", "5762b9e4d6b2f096d0a9948954cc30a5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.726092"], ["end_date", "2018-03-06 23:50:39.726261"], ["created_at", "2018-02-13 23:50:39.729185"], ["updated_at", "2018-02-13 23:50:39.729185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 66932476], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 66932476], ["sis_id", "ff27cb5ea9e7a4e079827ea2660181c4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.730878"], ["end_date", "2018-03-06 23:50:39.730943"], ["created_at", "2018-02-13 23:50:39.731776"], ["updated_at", "2018-02-13 23:50:39.731776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:50:39.732943"], ["unlock_at", "2018-02-12 23:50:39.732999"], ["lock_at", "2018-03-06 23:50:39.733038"], ["created_at", "2018-02-13 23:50:39.733885"], ["updated_at", "2018-02-13 23:50:39.733885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 22], ["LIMIT", 1]] SQL (0.3ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 66932476], ["context_type", "Course"], ["updated_at", "2018-02-13 23:50:39.735786"], ["id", 22]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 66932476], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24575674], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24575674], ["sis_id", "a8bd90a77f0c4984b072faa2843a9a94"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.750670"], ["end_date", "2018-03-06 23:50:39.750739"], ["created_at", "2018-02-13 23:50:39.751657"], ["updated_at", "2018-02-13 23:50:39.751657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 63468702], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 63468702], ["sis_id", "937965f2bba4670efb1dd6580ec9f016"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.757258"], ["end_date", "2018-03-06 23:50:39.757327"], ["created_at", "2018-02-13 23:50:39.758193"], ["updated_at", "2018-02-13 23:50:39.758193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 63468702], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24017553], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24017553], ["sis_id", "e69ce0f5cddccfffd53352e9597572c7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.764804"], ["end_date", "2018-03-06 23:50:39.764874"], ["created_at", "2018-02-13 23:50:39.765755"], ["updated_at", "2018-02-13 23:50:39.765755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9433956], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9433956], ["sis_id", "e5806a49e343cbd2825542e7ffca20a3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.770535"], ["end_date", "2018-03-06 23:50:39.770611"], ["created_at", "2018-02-13 23:50:39.772078"], ["updated_at", "2018-02-13 23:50:39.772078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46845002], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 46845002], ["sis_id", "09cbe7926b97ca4b528fd48973f28aa9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.778327"], ["end_date", "2018-03-06 23:50:39.778425"], ["created_at", "2018-02-13 23:50:39.779546"], ["updated_at", "2018-02-13 23:50:39.779546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 5080214], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 5080214], ["sis_id", "ba497fb7913a68b60644820bb8b5084e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.791721"], ["end_date", "2018-03-06 23:50:39.791852"], ["created_at", "2018-02-13 23:50:39.792955"], ["updated_at", "2018-02-13 23:50:39.792955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96305024], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96305024], ["sis_id", "5ed9478455424c3a46ff490fe578bd2e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:50:39.797185"], ["end_date", "2018-03-06 23:50:39.797259"], ["created_at", "2018-02-13 23:50:39.798149"], ["updated_at", "2018-02-13 23:50:39.798149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 28693047], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 28693047], ["created_at", "2018-02-13 23:50:39.818826"], ["updated_at", "2018-02-13 23:50:39.818826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26657897], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 26657897], ["created_at", "2018-02-13 23:50:39.824877"], ["updated_at", "2018-02-13 23:50:39.824877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26657897], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62890857], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62890857], ["created_at", "2018-02-13 23:50:39.841778"], ["updated_at", "2018-02-13 23:50:39.841778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 77385437], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 77385437], ["created_at", "2018-02-13 23:50:39.848254"], ["updated_at", "2018-02-13 23:50:39.848254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75598838], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 75598838], ["created_at", "2018-02-13 23:50:39.852495"], ["updated_at", "2018-02-13 23:50:39.852495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 51689783], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 51689783], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.857730"], ["updated_at", "2018-02-13 23:50:39.857730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 34723339], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 34723339], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.863351"], ["updated_at", "2018-02-13 23:50:39.863351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 34723339], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:50:39.880156"], ["updated_at", "2018-02-13 23:50:39.880156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:50:39.891527"], ["updated_at", "2018-02-13 23:50:39.891527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 24], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:50:39.896098"], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38223037], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 38223037], ["created_at", "2018-02-13 23:50:39.917610"], ["updated_at", "2018-02-13 23:50:39.917610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.6ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96349369], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 96349369], ["created_at", "2018-02-13 23:50:39.933948"], ["updated_at", "2018-02-13 23:50:39.933948"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96349369], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 12037082], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 12037082], ["created_at", "2018-02-13 23:50:39.946874"], ["updated_at", "2018-02-13 23:50:39.946874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 38104543], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 38104543], ["created_at", "2018-02-13 23:50:39.951110"], ["updated_at", "2018-02-13 23:50:39.951110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.7ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49133859], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49133859], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "4fcfe796e063ae75165b97fc76d5e2ff"], ["created_at", "2018-02-13 23:50:39.998272"], ["updated_at", "2018-02-13 23:50:39.998272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16917668], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16917668], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "0adcf962675ce6313995fe3cca813d15"], ["created_at", "2018-02-13 23:50:40.004440"], ["updated_at", "2018-02-13 23:50:40.004440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (1.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16917668], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 2389927], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 2389927], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "c5db9c14fe3d84552f24168c38a781a2"], ["created_at", "2018-02-13 23:50:40.012088"], ["updated_at", "2018-02-13 23:50:40.012088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 75789524], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 75789524], ["name", "Cool Term"], ["start_at", "2018-02-11 23:50:40.015598"], ["end_at", "2018-02-16 23:50:40.015671"], ["workflow_state", "active"], ["sis_id", "6573a4fe6d49af8644fd75bb92ebeee1"], ["created_at", "2018-02-13 23:50:40.016861"], ["updated_at", "2018-02-13 23:50:40.016861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93686517], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93686517], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "inactive"], ["sis_id", "c4f665226215cb805e5bbfd93ff93a6a"], ["created_at", "2018-02-13 23:50:40.018841"], ["updated_at", "2018-02-13 23:50:40.018841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44517011], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44517011], ["name", "Cool Term"], ["start_at", "2017-12-13 23:50:40.019788"], ["end_at", "2018-01-13 23:50:40.019839"], ["workflow_state", "active"], ["sis_id", "fcaadd6b491c0429adfc1693fd855cb3"], ["created_at", "2018-02-13 23:50:40.020806"], ["updated_at", "2018-02-13 23:50:40.020806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 9885754], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 9885754], ["name", "Cool Term"], ["start_at", "2018-08-13 23:50:40.021915"], ["end_at", "2019-02-13 23:50:40.021961"], ["workflow_state", "active"], ["sis_id", "b2b74422fda7edb691983a9c2f92daeb"], ["created_at", "2018-02-13 23:50:40.030687"], ["updated_at", "2018-02-13 23:50:40.030687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:50:40.032483' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:50:40.032645' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:50:40.039592"], ["updated_at", "2018-02-13 23:50:40.039592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:50:38.339291"], ["end_at", "2018-02-16 23:50:38.339478"], ["workflow_state", "active"], ["sis_id", "9bd8ae128d22f79a4a201a3c591fac34"], ["created_at", "2018-02-13 23:50:40.047184"], ["updated_at", "2018-02-13 23:50:40.047184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:50:40.050535"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (1.6ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 61695516], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 61695516], ["sis_id", "f0068846eca95f8d5b26ec58141e7a56"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:50:40.078692"], ["updated_at", "2018-02-13 23:50:40.078692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 11380991], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 11380991], ["sis_id", "d2b223eb3b25983c7d28527d0d9aec99"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:50:40.086594"], ["updated_at", "2018-02-13 23:50:40.086594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 11380991], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 72706400], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 72706400], ["sis_id", "059d1f7c9ea5ddc20083f22094cf08dc"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:50:40.093955"], ["updated_at", "2018-02-13 23:50:40.093955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 14767809], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 14767809], ["sis_id", "8b35c8b42fd8b453d6031175440a02e1"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:50:40.098922"], ["updated_at", "2018-02-13 23:50:40.098922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:50:40.106079','2018-02-13 23:50:40.106079'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:50:40.106079','2018-02-13 23:50:40.106079') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:50:40.113059','2018-02-13 23:50:40.113059'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:50:40.113059','2018-02-13 23:50:40.113059') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (6.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:50:40.120756','2018-02-13 23:50:40.120756'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:50:40.120756','2018-02-13 23:50:40.120756') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:50:40.137487','2018-02-13 23:50:40.137487'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:50:40.137487','2018-02-13 23:50:40.137487') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:50:40.145817','2018-02-13 23:50:40.145817'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:50:40.145817','2018-02-13 23:50:40.145817') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:50:40.152297','2018-02-13 23:50:40.152297') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:50:40.160547','2018-02-13 23:50:40.160547'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:50:40.160547','2018-02-13 23:50:40.160547') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:50:40.161980','2018-02-13 23:50:40.161980'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:50:40.161980','2018-02-13 23:50:40.161980') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c] Performing GoodJob (Job ID: fca3766a-97c5-47c3-a0c6-eef77c66a03c) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c] SQL (0.8ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.561762"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:55:28.584979"], ["updated_at", "2018-02-13 23:55:28.584979"]] [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.587742"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.588102"], ["id", 73]] [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [fca3766a-97c5-47c3-a0c6-eef77c66a03c] Performed GoodJob (Job ID: fca3766a-97c5-47c3-a0c6-eef77c66a03c) from Async(default) in 27.9ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c] Performing BadJob (Job ID: fef185ab-4651-41cb-8a9d-8962d263359c) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c] SQL (1.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.596081"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:55:28.596416"], ["updated_at", "2018-02-13 23:55:28.596416"]] [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:55:28.599007"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:55:28.599287"], ["id", 74]] [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [fef185ab-4651-41cb-8a9d-8962d263359c] Error performing BadJob (Job ID: fef185ab-4651-41cb-8a9d-8962d263359c) from Async(default) in 5.0ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572] Performing CanvasSync::Jobs::ReportChecker (Job ID: bb035011-6e29-4a41-ad35-bd04ea2e9572) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.605009"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.605382"], ["updated_at", "2018-02-13 23:55:28.605382"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 75]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [bb035011-6e29-4a41-ad35-bd04ea2e9572] Performed CanvasSync::Jobs::ReportChecker (Job ID: bb035011-6e29-4a41-ad35-bd04ea2e9572) from Async(default) in 8.23ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec] Performing CanvasSync::Jobs::ReportChecker (Job ID: ab039dd7-e923-4d1e-b240-e274859636ec) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.616541"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.616909"], ["updated_at", "2018-02-13 23:55:28.616909"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fd3a293b-9c73-4d8c-860e-0ac974742beb) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 76]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab039dd7-e923-4d1e-b240-e274859636ec] Performed CanvasSync::Jobs::ReportChecker (Job ID: ab039dd7-e923-4d1e-b240-e274859636ec) from Async(default) in 5.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b] Performing CanvasSync::Jobs::ReportChecker (Job ID: 51c645fd-9f6d-4e81-849a-6c3c408ac34b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.624618"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.625004"], ["updated_at", "2018-02-13 23:55:28.625004"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:55:28.627444"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:55:28.627694"], ["id", 77]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [51c645fd-9f6d-4e81-849a-6c3c408ac34b] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 51c645fd-9f6d-4e81-849a-6c3c408ac34b) from Async(default) in 4.99ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (1.9ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 53ebb9d6-b2e1-49cb-8f81-e517933b1398) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.639610"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.640167"], ["updated_at", "2018-02-13 23:55:28.640167"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:55:28.642610"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.667606"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.668002"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [53ebb9d6-b2e1-49cb-8f81-e517933b1398] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 53ebb9d6-b2e1-49cb-8f81-e517933b1398) from Async(default) in 29.78ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae] Performing CanvasSync::Jobs::ReportStarter (Job ID: 5ac5b19d-22d2-458b-b2c0-04fc045ac6ae) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.673054"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:55:28.673383"], ["updated_at", "2018-02-13 23:55:28.673383"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a81deb03-6a9c-40a3-8526-4825f914515a) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.676182"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.676484"], ["id", 79]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5ac5b19d-22d2-458b-b2c0-04fc045ac6ae] Performed CanvasSync::Jobs::ReportStarter (Job ID: 5ac5b19d-22d2-458b-b2c0-04fc045ac6ae) from Async(default) in 4.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2] Performing CanvasSync::Jobs::ReportStarter (Job ID: 1c72bac9-1205-4271-bb3b-c81ceb92d5d2) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.682133"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:55:28.682620"], ["updated_at", "2018-02-13 23:55:28.682620"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.686253"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.686554"], ["id", 80]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1c72bac9-1205-4271-bb3b-c81ceb92d5d2] Performed CanvasSync::Jobs::ReportStarter (Job ID: 1c72bac9-1205-4271-bb3b-c81ceb92d5d2) from Async(default) in 5.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217] Performing CanvasSync::Jobs::ReportStarter (Job ID: 55339512-7eab-4e46-b16b-1dd70ae80217) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.692204"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:55:28.692596"], ["updated_at", "2018-02-13 23:55:28.692596"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.695777"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.696080"], ["id", 81]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55339512-7eab-4e46-b16b-1dd70ae80217] Performed CanvasSync::Jobs::ReportStarter (Job ID: 55339512-7eab-4e46-b16b-1dd70ae80217) from Async(default) in 5.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e512c7e5-b189-4b58-97b4-5c00aaed9079) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.720812"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.721270"], ["updated_at", "2018-02-13 23:55:28.721270"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.738784"], ["updated_at", "2018-02-13 23:55:28.738784"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.741396"], ["updated_at", "2018-02-13 23:55:28.741396"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.743745"], ["updated_at", "2018-02-13 23:55:28.743745"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (29, 30, 31)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.745569"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.745889"], ["id", 82]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e512c7e5-b189-4b58-97b4-5c00aaed9079] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: e512c7e5-b189-4b58-97b4-5c00aaed9079) from Async(default) in 26.57ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 9dbc85e3-ef00-4413-ba63-a207ce6e460f) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.751742"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.752148"], ["updated_at", "2018-02-13 23:55:28.752148"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2a752db0-d96c-446c-9968-10a75e95faaf) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.754801"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.755065"], ["id", 83]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9dbc85e3-ef00-4413-ba63-a207ce6e460f] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 9dbc85e3-ef00-4413-ba63-a207ce6e460f) from Async(default) in 4.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 2eabe8d3-9921-48f2-beb7-b7e7a5a76b66) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.760576"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.761030"], ["updated_at", "2018-02-13 23:55:28.761030"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d75eec9f-d29f-41d5-a76f-643518d8e681) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.763595"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.763900"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [2eabe8d3-9921-48f2-beb7-b7e7a5a76b66] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 2eabe8d3-9921-48f2-beb7-b7e7a5a76b66) from Async(default) in 4.74ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27473221], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27473221], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "ed4b252e13d26181e0367335d640693f"], ["created_at", "2018-02-13 23:55:28.780920"], ["updated_at", "2018-02-13 23:55:28.780920"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 405855], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 405855], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "0c6f29bca3709023778c6d005a310fc6"], ["created_at", "2018-02-13 23:55:28.791568"], ["updated_at", "2018-02-13 23:55:28.791568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40615861], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40615861], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "inactive"], ["sis_id", "7edb7e690425d9e26f4ee693b23c6467"], ["created_at", "2018-02-13 23:55:28.794024"], ["updated_at", "2018-02-13 23:55:28.794024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5f72927c-23e5-415b-8821-793c85706a3d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.798059"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:55:28.798482"], ["updated_at", "2018-02-13 23:55:28.798482"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:55:28.800587' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:55:28.801830' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.803330"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.803663"], ["id", 85]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [5f72927c-23e5-415b-8821-793c85706a3d] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 5f72927c-23e5-415b-8821-793c85706a3d) from Async(default) in 6.96ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d8f34bdc-b0e5-4a21-ba51-714623207ff5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.808681"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:55:28.809070"], ["updated_at", "2018-02-13 23:55:28.809070"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.811033"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.811319"], ["id", 86]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d8f34bdc-b0e5-4a21-ba51-714623207ff5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d8f34bdc-b0e5-4a21-ba51-714623207ff5) from Async(default) in 4.16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 881c8e37-7bce-491d-b6d1-18c3cd776dba) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.819990"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.820341"], ["updated_at", "2018-02-13 23:55:28.820341"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:55:28.836298"], ["updated_at", "2018-02-13 23:55:28.836298"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:55:28.856829"], ["updated_at", "2018-02-13 23:55:28.856829"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (25, 26)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.862588"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.862991"], ["id", 87]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [881c8e37-7bce-491d-b6d1-18c3cd776dba] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 881c8e37-7bce-491d-b6d1-18c3cd776dba) from Async(default) in 44.52ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e9efe834-dcde-4241-bf9d-1ddd3ead2690) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.869481"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.869846"], ["updated_at", "2018-02-13 23:55:28.869846"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: cd7638f9-5f3c-4081-a335-0ab13c5f57e1) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.872323"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.872573"], ["id", 88]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e9efe834-dcde-4241-bf9d-1ddd3ead2690] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e9efe834-dcde-4241-bf9d-1ddd3ead2690) from Async(default) in 4.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 81e3fd06-d083-40c0-b180-4075c6f15eb9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.879853"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.880235"], ["updated_at", "2018-02-13 23:55:28.880235"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:55:28.886773"], ["updated_at", "2018-02-13 23:55:28.886773"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.889394"], ["updated_at", "2018-02-13 23:55:28.889394"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.891646"], ["updated_at", "2018-02-13 23:55:28.891646"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:55:28.894478"], ["updated_at", "2018-02-13 23:55:28.894478"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:55:28.896942"], ["updated_at", "2018-02-13 23:55:28.896942"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.899384"], ["updated_at", "2018-02-13 23:55:28.899384"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (1.5ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.4ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.904539"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.907528"], ["id", 89]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [81e3fd06-d083-40c0-b180-4075c6f15eb9] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 81e3fd06-d083-40c0-b180-4075c6f15eb9) from Async(default) in 29.71ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: aca17d31-4768-4fe0-be16-e6fe44236a8c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:55:28.916437"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:55:28.916894"], ["updated_at", "2018-02-13 23:55:28.916894"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c0f771ae-90d0-4477-a3e6-e4471ec7519b) to Async(default) at 2018-02-13 23:55:58 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:55:28.919477"], ["status", "success"], ["updated_at", "2018-02-13 23:55:28.919771"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [aca17d31-4768-4fe0-be16-e6fe44236a8c] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: aca17d31-4768-4fe0-be16-e6fe44236a8c) from Async(default) in 5.97ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 91375587], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 91375587], ["role_name", "Cool Role"], ["canvas_role_id", 41562874], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.926698"], ["updated_at", "2018-02-13 23:55:28.926698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 72051605], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 72051605], ["role_name", "Cool Role"], ["canvas_role_id", 15149357], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.938997"], ["updated_at", "2018-02-13 23:55:28.938997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 72051605], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (2.0ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.954259"], ["updated_at", "2018-02-13 23:55:28.954259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 25431038], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:28.960873"], ["updated_at", "2018-02-13 23:55:28.960873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 35], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:55:28.965215"], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:55:28.987789"], ["unlock_at", "2018-02-12 23:55:28.987906"], ["lock_at", "2018-03-06 23:55:28.987953"], ["created_at", "2018-02-13 23:55:28.990635"], ["updated_at", "2018-02-13 23:55:28.990635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:55:29.006272"], ["unlock_at", "2018-02-12 23:55:29.006391"], ["lock_at", "2018-03-06 23:55:29.006444"], ["created_at", "2018-02-13 23:55:29.007723"], ["updated_at", "2018-02-13 23:55:29.007723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:55:29.015681"], ["unlock_at", "2018-02-12 23:55:29.015774"], ["lock_at", "2018-03-06 23:55:29.015813"], ["created_at", "2018-02-13 23:55:29.016779"], ["updated_at", "2018-02-13 23:55:29.016779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.9ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 91897355], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 91897355], ["sis_id", "a2ffb4c2a006ac7e86c3ce32d5fb5df2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.032537"], ["end_date", "2018-03-06 23:55:29.032632"], ["created_at", "2018-02-13 23:55:29.034829"], ["updated_at", "2018-02-13 23:55:29.034829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 33680611], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 33680611], ["sis_id", "55cfc649ace4275c7285dc567aa26846"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.036608"], ["end_date", "2018-03-06 23:55:29.036688"], ["created_at", "2018-02-13 23:55:29.037592"], ["updated_at", "2018-02-13 23:55:29.037592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:55:29.038842"], ["unlock_at", "2018-02-12 23:55:29.038896"], ["lock_at", "2018-03-06 23:55:29.038933"], ["created_at", "2018-02-13 23:55:29.039815"], ["updated_at", "2018-02-13 23:55:29.039815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 28], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 33680611], ["context_type", "Course"], ["updated_at", "2018-02-13 23:55:29.042061"], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 33680611], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 99301010], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 99301010], ["sis_id", "415b0fa8236e5fad4aeef7ecc4fcd49f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.065430"], ["end_date", "2018-03-06 23:55:29.065531"], ["created_at", "2018-02-13 23:55:29.066558"], ["updated_at", "2018-02-13 23:55:29.066558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 2693071], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 2693071], ["sis_id", "f20db4b5300447859c6f41f486910000"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.073359"], ["end_date", "2018-03-06 23:55:29.073434"], ["created_at", "2018-02-13 23:55:29.074323"], ["updated_at", "2018-02-13 23:55:29.074323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 2693071], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 48603341], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 48603341], ["sis_id", "7427015b0c52803b66b43d0d81e3e03c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.080868"], ["end_date", "2018-03-06 23:55:29.080936"], ["created_at", "2018-02-13 23:55:29.081813"], ["updated_at", "2018-02-13 23:55:29.081813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 32191015], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 32191015], ["sis_id", "cdf0a8a5bb100f48a8cf58e92c827890"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.085758"], ["end_date", "2018-03-06 23:55:29.085832"], ["created_at", "2018-02-13 23:55:29.086635"], ["updated_at", "2018-02-13 23:55:29.086635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25378261], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 25378261], ["sis_id", "cf3428bf68a61d4faef22c44f3804908"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.094374"], ["end_date", "2018-03-06 23:55:29.094496"], ["created_at", "2018-02-13 23:55:29.095467"], ["updated_at", "2018-02-13 23:55:29.095467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88602289], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 88602289], ["sis_id", "8586e93ca898df547d2437243af731bc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.099643"], ["end_date", "2018-03-06 23:55:29.099713"], ["created_at", "2018-02-13 23:55:29.100590"], ["updated_at", "2018-02-13 23:55:29.100590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.4ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58670882], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58670882], ["sis_id", "64aed73a2426c40baa7810d916c1949f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:55:29.110740"], ["end_date", "2018-03-06 23:55:29.110832"], ["created_at", "2018-02-13 23:55:29.111898"], ["updated_at", "2018-02-13 23:55:29.111898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 35578467], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 35578467], ["created_at", "2018-02-13 23:55:29.133438"], ["updated_at", "2018-02-13 23:55:29.133438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 17534190], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 17534190], ["created_at", "2018-02-13 23:55:29.139121"], ["updated_at", "2018-02-13 23:55:29.139121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 17534190], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 25277483], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 25277483], ["created_at", "2018-02-13 23:55:29.145727"], ["updated_at", "2018-02-13 23:55:29.145727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 29421157], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 29421157], ["created_at", "2018-02-13 23:55:29.149968"], ["updated_at", "2018-02-13 23:55:29.149968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62212866], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62212866], ["created_at", "2018-02-13 23:55:29.154811"], ["updated_at", "2018-02-13 23:55:29.154811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 63717536], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 63717536], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:29.169038"], ["updated_at", "2018-02-13 23:55:29.169038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 33047376], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 33047376], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:29.176144"], ["updated_at", "2018-02-13 23:55:29.176144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 33047376], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:55:29.187589"], ["updated_at", "2018-02-13 23:55:29.187589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:55:29.198229"], ["updated_at", "2018-02-13 23:55:29.198229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 30], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:55:29.211871"], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64373307], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64373307], ["created_at", "2018-02-13 23:55:29.236629"], ["updated_at", "2018-02-13 23:55:29.236629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 72988770], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 72988770], ["created_at", "2018-02-13 23:55:29.242818"], ["updated_at", "2018-02-13 23:55:29.242818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 72988770], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 45716521], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 45716521], ["created_at", "2018-02-13 23:55:29.251520"], ["updated_at", "2018-02-13 23:55:29.251520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 82688884], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 82688884], ["created_at", "2018-02-13 23:55:29.265257"], ["updated_at", "2018-02-13 23:55:29.265257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 15696736], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 15696736], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "396279fa370f27811aa05e617b572db6"], ["created_at", "2018-02-13 23:55:29.316916"], ["updated_at", "2018-02-13 23:55:29.316916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16761743], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16761743], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "f497e72588701a9be3cac25c2da4b7a7"], ["created_at", "2018-02-13 23:55:29.323583"], ["updated_at", "2018-02-13 23:55:29.323583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16761743], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45009615], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45009615], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "fc3c699635503f2f4ae8846536c7de11"], ["created_at", "2018-02-13 23:55:29.332602"], ["updated_at", "2018-02-13 23:55:29.332602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34588435], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34588435], ["name", "Cool Term"], ["start_at", "2018-02-11 23:55:29.336299"], ["end_at", "2018-02-16 23:55:29.336370"], ["workflow_state", "active"], ["sis_id", "a6e5179cf5425cbd47b467fb515f6de3"], ["created_at", "2018-02-13 23:55:29.337595"], ["updated_at", "2018-02-13 23:55:29.337595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43896551], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 43896551], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "inactive"], ["sis_id", "44ec24ab3ff5749a8f08fc4eb4627162"], ["created_at", "2018-02-13 23:55:29.339601"], ["updated_at", "2018-02-13 23:55:29.339601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 2628267], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 2628267], ["name", "Cool Term"], ["start_at", "2017-12-13 23:55:29.340530"], ["end_at", "2018-01-13 23:55:29.340582"], ["workflow_state", "active"], ["sis_id", "a34a76097f58ccd27ed8ca34a9f6f6a7"], ["created_at", "2018-02-13 23:55:29.341552"], ["updated_at", "2018-02-13 23:55:29.341552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26591472], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26591472], ["name", "Cool Term"], ["start_at", "2018-08-13 23:55:29.342503"], ["end_at", "2019-02-13 23:55:29.342542"], ["workflow_state", "active"], ["sis_id", "fa2d01269133c0b5678e39ede139b5d5"], ["created_at", "2018-02-13 23:55:29.343553"], ["updated_at", "2018-02-13 23:55:29.343553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:55:29.344703' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:55:29.344849' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:55:29.350282"], ["updated_at", "2018-02-13 23:55:29.350282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:55:27.569325"], ["end_at", "2018-02-16 23:55:27.569494"], ["workflow_state", "active"], ["sis_id", "a46b16d1aff6e4c66fe704bf8e501b41"], ["created_at", "2018-02-13 23:55:29.357272"], ["updated_at", "2018-02-13 23:55:29.357272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:55:29.368600"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.7ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 73730462], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 73730462], ["sis_id", "34cea1621dfd1c8144eb8318ffc8f6e7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:55:29.388864"], ["updated_at", "2018-02-13 23:55:29.388864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 69137028], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 69137028], ["sis_id", "481e61e035ac5733f2ab80ab0b733e07"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:55:29.396025"], ["updated_at", "2018-02-13 23:55:29.396025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 69137028], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 3670085], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 3670085], ["sis_id", "97d5badfc7bd65aebcfae950b77c33cd"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:55:29.402376"], ["updated_at", "2018-02-13 23:55:29.402376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 57285723], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 57285723], ["sis_id", "d3c743aa19d2d9a92347fce3e8f9a3db"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:55:29.406709"], ["updated_at", "2018-02-13 23:55:29.406709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:55:29.422674','2018-02-13 23:55:29.422674'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:55:29.422674','2018-02-13 23:55:29.422674') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:55:29.432228','2018-02-13 23:55:29.432228'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:55:29.432228','2018-02-13 23:55:29.432228') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:55:29.438830','2018-02-13 23:55:29.438830'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:55:29.438830','2018-02-13 23:55:29.438830') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:55:29.447212','2018-02-13 23:55:29.447212'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:55:29.447212','2018-02-13 23:55:29.447212') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:55:29.454073','2018-02-13 23:55:29.454073'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:55:29.454073','2018-02-13 23:55:29.454073') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:55:29.460870','2018-02-13 23:55:29.460870') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:55:29.477570','2018-02-13 23:55:29.477570'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:55:29.477570','2018-02-13 23:55:29.477570') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:55:29.479317','2018-02-13 23:55:29.479317'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:55:29.479317','2018-02-13 23:55:29.479317') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (121.8ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (495.1ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (19.5ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (3.7ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.6ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (3.7ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.1ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.8ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.8ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.5ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (3.6ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (4.0ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (2.4ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.4ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.8ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.4ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (4.0ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.9ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (4.1ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180213235544)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180212204530), (20170915210836);   (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-13 23:56:05.139056"], ["updated_at", "2018-02-13 23:56:05.139056"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (3.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71] Performing GoodJob (Job ID: feb1a7a3-0d7a-452c-b3e4-8f2864f15b71) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.499026"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:56:05.510104"], ["updated_at", "2018-02-13 23:56:05.510104"]] [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.512104"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.512360"], ["id", 1]] [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [feb1a7a3-0d7a-452c-b3e4-8f2864f15b71] Performed GoodJob (Job ID: feb1a7a3-0d7a-452c-b3e4-8f2864f15b71) from Async(default) in 14.87ms  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08] Performing BadJob (Job ID: 70cb83b6-5e50-4df5-a62a-47b600b9dc08) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.522138"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:56:05.522594"], ["updated_at", "2018-02-13 23:56:05.522594"]] [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:56:05.524445"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:56:05.524743"], ["id", 2]] [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08]  (0.8ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [70cb83b6-5e50-4df5-a62a-47b600b9dc08] Error performing BadJob (Job ID: 70cb83b6-5e50-4df5-a62a-47b600b9dc08) from Async(default) in 12.83ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb] Performing CanvasSync::Jobs::ReportChecker (Job ID: daf5080c-2b07-4498-985d-36f064f380eb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.540251"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.540654"], ["updated_at", "2018-02-13 23:56:05.540654"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [daf5080c-2b07-4498-985d-36f064f380eb] Performed CanvasSync::Jobs::ReportChecker (Job ID: daf5080c-2b07-4498-985d-36f064f380eb) from Async(default) in 14.32ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c] Performing CanvasSync::Jobs::ReportChecker (Job ID: 0450e326-0358-4810-b1ae-209afc3e723c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.557742"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.558145"], ["updated_at", "2018-02-13 23:56:05.558145"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ebe8e593-7b74-4b24-9963-e9556aa26e8e) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [0450e326-0358-4810-b1ae-209afc3e723c] Performed CanvasSync::Jobs::ReportChecker (Job ID: 0450e326-0358-4810-b1ae-209afc3e723c) from Async(default) in 4.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b] Performing CanvasSync::Jobs::ReportChecker (Job ID: 626832e2-6337-44da-b0da-507655d48b6b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.566138"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.566563"], ["updated_at", "2018-02-13 23:56:05.566563"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:56:05.568831"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:56:05.569078"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [626832e2-6337-44da-b0da-507655d48b6b] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 626832e2-6337-44da-b0da-507655d48b6b) from Async(default) in 4.92ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 692d7fea-31fa-42ad-8b2a-c0f616772d80) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.582580"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.583109"], ["updated_at", "2018-02-13 23:56:05.583109"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:56:05.585607"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.609301"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.609667"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [692d7fea-31fa-42ad-8b2a-c0f616772d80] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 692d7fea-31fa-42ad-8b2a-c0f616772d80) from Async(default) in 28.45ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee] Performing CanvasSync::Jobs::ReportStarter (Job ID: 65625bbe-82e7-4b85-834f-28761f0ae7ee) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.614621"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:56:05.614953"], ["updated_at", "2018-02-13 23:56:05.614953"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5bd55575-a72a-49fd-b9e4-6c1d3090c5f8) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.617761"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.618080"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [65625bbe-82e7-4b85-834f-28761f0ae7ee] Performed CanvasSync::Jobs::ReportStarter (Job ID: 65625bbe-82e7-4b85-834f-28761f0ae7ee) from Async(default) in 4.89ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90] Performing CanvasSync::Jobs::ReportStarter (Job ID: 3c0977fb-b276-4621-bb03-a51d6ba53e90) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.624586"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:56:05.625071"], ["updated_at", "2018-02-13 23:56:05.625071"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.627672"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.627954"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3c0977fb-b276-4621-bb03-a51d6ba53e90] Performed CanvasSync::Jobs::ReportStarter (Job ID: 3c0977fb-b276-4621-bb03-a51d6ba53e90) from Async(default) in 4.97ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e] Performing CanvasSync::Jobs::ReportStarter (Job ID: d6fae204-8ff8-4df8-a838-eff536049a9e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.634642"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:56:05.635226"], ["updated_at", "2018-02-13 23:56:05.635226"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.638796"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.639185"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d6fae204-8ff8-4df8-a838-eff536049a9e] Performed CanvasSync::Jobs::ReportStarter (Job ID: d6fae204-8ff8-4df8-a838-eff536049a9e) from Async(default) in 6.27ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: c49ebfe5-cb01-4c5a-9dcb-42ae10204d24) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.656713"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.657151"], ["updated_at", "2018-02-13 23:56:05.657151"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.673569"], ["updated_at", "2018-02-13 23:56:05.673569"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.676502"], ["updated_at", "2018-02-13 23:56:05.676502"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.678802"], ["updated_at", "2018-02-13 23:56:05.678802"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.680542"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.680889"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [c49ebfe5-cb01-4c5a-9dcb-42ae10204d24] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: c49ebfe5-cb01-4c5a-9dcb-42ae10204d24) from Async(default) in 25.52ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d4a583b7-e79c-4328-82ec-fbb840ffaed1) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.687085"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.687497"], ["updated_at", "2018-02-13 23:56:05.687497"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e98955ab-6403-4814-8835-01c4f3b7af4b) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.690297"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.690589"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d4a583b7-e79c-4328-82ec-fbb840ffaed1] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d4a583b7-e79c-4328-82ec-fbb840ffaed1) from Async(default) in 4.83ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 01820213-883a-4cae-b87f-6f4ca1edfe29) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.697091"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.697643"], ["updated_at", "2018-02-13 23:56:05.697643"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0d44072c-206d-483a-8324-b01c244ca91c) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.701189"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.701618"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01820213-883a-4cae-b87f-6f4ca1edfe29] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 01820213-883a-4cae-b87f-6f4ca1edfe29) from Async(default) in 6.21ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65561371], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65561371], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "4c774cbcf3b785287d32f3408d7056bf"], ["created_at", "2018-02-13 23:56:05.730649"], ["updated_at", "2018-02-13 23:56:05.730649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91435995], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 91435995], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "450ad2918c4543783640aadd28b43829"], ["created_at", "2018-02-13 23:56:05.733200"], ["updated_at", "2018-02-13 23:56:05.733200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27938514], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27938514], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "inactive"], ["sis_id", "7b19d514775baaa09324f672110a0ace"], ["created_at", "2018-02-13 23:56:05.735177"], ["updated_at", "2018-02-13 23:56:05.735177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6225368d-95e0-4ecb-8ae4-9164366a4db9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.737774"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:56:05.738195"], ["updated_at", "2018-02-13 23:56:05.738195"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9] Term Load (1.8ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:56:05.740195' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:56:05.740390' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.745118"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.745463"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6225368d-95e0-4ecb-8ae4-9164366a4db9] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6225368d-95e0-4ecb-8ae4-9164366a4db9) from Async(default) in 9.09ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e980e7c9-080e-484b-adc3-4c9c467ed30b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.750897"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:56:05.751239"], ["updated_at", "2018-02-13 23:56:05.751239"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.753247"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.753476"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e980e7c9-080e-484b-adc3-4c9c467ed30b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e980e7c9-080e-484b-adc3-4c9c467ed30b) from Async(default) in 3.92ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 6450a738-fc9b-4539-b04e-d619c92d3f31) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.761937"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.762304"], ["updated_at", "2018-02-13 23:56:05.762304"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] SQL (3.8ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:56:05.778036"], ["updated_at", "2018-02-13 23:56:05.778036"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:56:05.794873"], ["updated_at", "2018-02-13 23:56:05.794873"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.800013"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.801511"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [6450a738-fc9b-4539-b04e-d619c92d3f31] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 6450a738-fc9b-4539-b04e-d619c92d3f31) from Async(default) in 45.15ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: b3ec8951-5374-4eb6-a817-122173748c94) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.812160"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.812735"], ["updated_at", "2018-02-13 23:56:05.812735"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 73e3d21d-4298-4b9e-b943-cc395a9bcfae) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.815456"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.815688"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [b3ec8951-5374-4eb6-a817-122173748c94] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: b3ec8951-5374-4eb6-a817-122173748c94) from Async(default) in 4.81ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 04fd5185-2c2d-447e-84e7-17ce28fd7608) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.820812"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.821175"], ["updated_at", "2018-02-13 23:56:05.821175"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:56:05.827952"], ["updated_at", "2018-02-13 23:56:05.827952"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.830376"], ["updated_at", "2018-02-13 23:56:05.830376"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.832664"], ["updated_at", "2018-02-13 23:56:05.832664"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:56:05.835755"], ["updated_at", "2018-02-13 23:56:05.835755"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:56:05.838231"], ["updated_at", "2018-02-13 23:56:05.838231"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.840628"], ["updated_at", "2018-02-13 23:56:05.840628"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] SQL (2.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.841629"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.841933"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [04fd5185-2c2d-447e-84e7-17ce28fd7608] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 04fd5185-2c2d-447e-84e7-17ce28fd7608) from Async(default) in 30.1ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 64ccb354-a192-4efa-bcd0-e90b50542b7d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:56:05.856314"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:56:05.856712"], ["updated_at", "2018-02-13 23:56:05.856712"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 33bbd981-969e-407b-a0c7-5247903af429) to Async(default) at 2018-02-13 23:56:35 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:56:05.859323"], ["status", "success"], ["updated_at", "2018-02-13 23:56:05.859643"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [64ccb354-a192-4efa-bcd0-e90b50542b7d] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 64ccb354-a192-4efa-bcd0-e90b50542b7d) from Async(default) in 4.67ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 78264682], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 78264682], ["role_name", "Cool Role"], ["canvas_role_id", 73939936], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.866101"], ["updated_at", "2018-02-13 23:56:05.866101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 24104878], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 24104878], ["role_name", "Cool Role"], ["canvas_role_id", 59828156], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.877075"], ["updated_at", "2018-02-13 23:56:05.877075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 24104878], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.897960"], ["updated_at", "2018-02-13 23:56:05.897960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 10139108], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:05.908967"], ["updated_at", "2018-02-13 23:56:05.908967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:56:05.913486"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Assignment Exists (2.9ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:56:05.964014"], ["unlock_at", "2018-02-12 23:56:05.964201"], ["lock_at", "2018-03-06 23:56:05.964291"], ["created_at", "2018-02-13 23:56:05.969503"], ["updated_at", "2018-02-13 23:56:05.969503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:56:05.981752"], ["unlock_at", "2018-02-12 23:56:05.981849"], ["lock_at", "2018-03-06 23:56:05.981894"], ["created_at", "2018-02-13 23:56:05.982735"], ["updated_at", "2018-02-13 23:56:05.982735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:56:05.990042"], ["unlock_at", "2018-02-12 23:56:05.990138"], ["lock_at", "2018-03-06 23:56:05.990176"], ["created_at", "2018-02-13 23:56:05.991112"], ["updated_at", "2018-02-13 23:56:05.991112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (2.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97803629], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 97803629], ["sis_id", "4533329861bae64fd0366a42ff19116f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.006249"], ["end_date", "2018-03-06 23:56:06.006360"], ["created_at", "2018-02-13 23:56:06.009860"], ["updated_at", "2018-02-13 23:56:06.009860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97705555], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 97705555], ["sis_id", "1154192ae30cc9f483f74d2567fb3177"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.011788"], ["end_date", "2018-03-06 23:56:06.011881"], ["created_at", "2018-02-13 23:56:06.023161"], ["updated_at", "2018-02-13 23:56:06.023161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:56:06.025400"], ["unlock_at", "2018-02-12 23:56:06.025489"], ["lock_at", "2018-03-06 23:56:06.025531"], ["created_at", "2018-02-13 23:56:06.026906"], ["updated_at", "2018-02-13 23:56:06.026906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 4], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 97705555], ["context_type", "Course"], ["updated_at", "2018-02-13 23:56:06.028985"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97705555], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 52575232], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 52575232], ["sis_id", "89ce9a0ad868c7aed52b0656a65cc323"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.044670"], ["end_date", "2018-03-06 23:56:06.044777"], ["created_at", "2018-02-13 23:56:06.045834"], ["updated_at", "2018-02-13 23:56:06.045834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 81528087], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 81528087], ["sis_id", "1a23785f2be40fe370f433fb25a7e523"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.050966"], ["end_date", "2018-03-06 23:56:06.051033"], ["created_at", "2018-02-13 23:56:06.051808"], ["updated_at", "2018-02-13 23:56:06.051808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 81528087], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6164053], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6164053], ["sis_id", "1123f2c7c164ef67d34223f4767711c8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.057337"], ["end_date", "2018-03-06 23:56:06.057403"], ["created_at", "2018-02-13 23:56:06.058235"], ["updated_at", "2018-02-13 23:56:06.058235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50795459], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50795459], ["sis_id", "2f18e4c726ad02683f61561774a230e1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.062832"], ["end_date", "2018-03-06 23:56:06.062925"], ["created_at", "2018-02-13 23:56:06.063962"], ["updated_at", "2018-02-13 23:56:06.063962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74788053], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74788053], ["sis_id", "3d0503b8f30002bbaec86d846b765e7a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.068230"], ["end_date", "2018-03-06 23:56:06.068311"], ["created_at", "2018-02-13 23:56:06.069283"], ["updated_at", "2018-02-13 23:56:06.069283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 54133253], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 54133253], ["sis_id", "8cc118ee074fdec7b230c445ba9ee373"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.074858"], ["end_date", "2018-03-06 23:56:06.074953"], ["created_at", "2018-02-13 23:56:06.075945"], ["updated_at", "2018-02-13 23:56:06.075945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 87353768], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 87353768], ["sis_id", "495a9616c034e9cf0f14f32061b4be0f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:56:06.088737"], ["end_date", "2018-03-06 23:56:06.088830"], ["created_at", "2018-02-13 23:56:06.089787"], ["updated_at", "2018-02-13 23:56:06.089787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (3.0ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 14246903], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 14246903], ["created_at", "2018-02-13 23:56:06.112663"], ["updated_at", "2018-02-13 23:56:06.112663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 83003890], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 83003890], ["created_at", "2018-02-13 23:56:06.119334"], ["updated_at", "2018-02-13 23:56:06.119334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (1.9ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 83003890], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 47218357], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 47218357], ["created_at", "2018-02-13 23:56:06.137062"], ["updated_at", "2018-02-13 23:56:06.137062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 47819449], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 47819449], ["created_at", "2018-02-13 23:56:06.143007"], ["updated_at", "2018-02-13 23:56:06.143007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 5687516], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 5687516], ["created_at", "2018-02-13 23:56:06.148358"], ["updated_at", "2018-02-13 23:56:06.148358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 78895974], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 78895974], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:06.154439"], ["updated_at", "2018-02-13 23:56:06.154439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 84090411], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 84090411], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:06.160359"], ["updated_at", "2018-02-13 23:56:06.160359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 84090411], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:56:06.178526"], ["updated_at", "2018-02-13 23:56:06.178526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:56:06.193583"], ["updated_at", "2018-02-13 23:56:06.193583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:56:06.198540"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (6.0ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 3467048], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 3467048], ["created_at", "2018-02-13 23:56:06.229484"], ["updated_at", "2018-02-13 23:56:06.229484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 3093801], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 3093801], ["created_at", "2018-02-13 23:56:06.238429"], ["updated_at", "2018-02-13 23:56:06.238429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 3093801], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 89932291], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 89932291], ["created_at", "2018-02-13 23:56:06.247189"], ["updated_at", "2018-02-13 23:56:06.247189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 59288959], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 59288959], ["created_at", "2018-02-13 23:56:06.252751"], ["updated_at", "2018-02-13 23:56:06.252751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (3.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (2.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_assignment_id" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44463896], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44463896], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "a084bd2c8394c768ddf48c004caba5ca"], ["created_at", "2018-02-13 23:56:06.304202"], ["updated_at", "2018-02-13 23:56:06.304202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18451043], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 18451043], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "776f18e8bbb6d0e496acbca541507a84"], ["created_at", "2018-02-13 23:56:06.310109"], ["updated_at", "2018-02-13 23:56:06.310109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18451043], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84893842], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 84893842], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "d6b3994c6d91f947712e791cb6a40d8c"], ["created_at", "2018-02-13 23:56:06.316852"], ["updated_at", "2018-02-13 23:56:06.316852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63038556], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63038556], ["name", "Cool Term"], ["start_at", "2018-02-11 23:56:06.320902"], ["end_at", "2018-02-16 23:56:06.322171"], ["workflow_state", "active"], ["sis_id", "60c3bbc2da76413da2f2cebed72af616"], ["created_at", "2018-02-13 23:56:06.328931"], ["updated_at", "2018-02-13 23:56:06.328931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66489797], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66489797], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "inactive"], ["sis_id", "25073439821769368e1eec1c76550763"], ["created_at", "2018-02-13 23:56:06.331505"], ["updated_at", "2018-02-13 23:56:06.331505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21783895], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21783895], ["name", "Cool Term"], ["start_at", "2017-12-13 23:56:06.332842"], ["end_at", "2018-01-13 23:56:06.332905"], ["workflow_state", "active"], ["sis_id", "278eff6dbfd5dd3669fce5fc776ac63a"], ["created_at", "2018-02-13 23:56:06.334087"], ["updated_at", "2018-02-13 23:56:06.334087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41607614], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41607614], ["name", "Cool Term"], ["start_at", "2018-08-13 23:56:06.335121"], ["end_at", "2019-02-13 23:56:06.335174"], ["workflow_state", "active"], ["sis_id", "aff4482c83994526675ab44c815e0bb7"], ["created_at", "2018-02-13 23:56:06.336285"], ["updated_at", "2018-02-13 23:56:06.336285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:56:06.337422' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:56:06.338610' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:56:06.345531"], ["updated_at", "2018-02-13 23:56:06.345531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:56:01.586401"], ["end_at", "2018-02-16 23:56:01.586587"], ["workflow_state", "active"], ["sis_id", "2d8c8c0409e696f55780aa3ad758e4a6"], ["created_at", "2018-02-13 23:56:06.352560"], ["updated_at", "2018-02-13 23:56:06.352560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:56:06.358888"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (9.7ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 86528970], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 86528970], ["sis_id", "62bd2ec9b4132801a96bceb9bd747341"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:56:06.384090"], ["updated_at", "2018-02-13 23:56:06.384090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 12183459], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 12183459], ["sis_id", "e2eaa130ce910e59f3c06b8ac4e230e3"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:56:06.392340"], ["updated_at", "2018-02-13 23:56:06.392340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 12183459], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 72184138], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 72184138], ["sis_id", "b47a6e5daa361cfe8ee5e3cf1deae244"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:56:06.401574"], ["updated_at", "2018-02-13 23:56:06.401574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 10080700], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 10080700], ["sis_id", "cb213c17842229106ea24d703de35f0f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:56:06.406563"], ["updated_at", "2018-02-13 23:56:06.406563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:56:06.414190','2018-02-13 23:56:06.414190'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:56:06.414190','2018-02-13 23:56:06.414190') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:56:06.421553','2018-02-13 23:56:06.421553'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:56:06.421553','2018-02-13 23:56:06.421553') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:56:06.437203','2018-02-13 23:56:06.437203'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:56:06.437203','2018-02-13 23:56:06.437203') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:56:06.447233','2018-02-13 23:56:06.447233'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:56:06.447233','2018-02-13 23:56:06.447233') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:56:06.455156','2018-02-13 23:56:06.455156'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:56:06.455156','2018-02-13 23:56:06.455156') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.2ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:56:06.461883','2018-02-13 23:56:06.461883') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:56:06.470400','2018-02-13 23:56:06.470400'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:56:06.470400','2018-02-13 23:56:06.470400') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:56:06.472048','2018-02-13 23:56:06.472048'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:56:06.472048','2018-02-13 23:56:06.472048') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.0ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "submissions"  (0.2ms) ROLLBACK  (120.7ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (405.8ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE  (17.1ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (4.4ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.7ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (4.4ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (4.2ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.3ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.2ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (3.4ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (3.5ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.5ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (2.8ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.9ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.5ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.5ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (4.0ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (4.3ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180213235544)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180212204530), (20170915210836);   (4.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-13 23:57:28.958785"], ["updated_at", "2018-02-13 23:57:28.958785"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218] Performing GoodJob (Job ID: 16e7cbbf-9a9f-4f61-8e68-934abec51218) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.325779"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:57:29.336461"], ["updated_at", "2018-02-13 23:57:29.336461"]] [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218]  (0.5ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.344958"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.345752"], ["id", 1]] [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [16e7cbbf-9a9f-4f61-8e68-934abec51218] Performed GoodJob (Job ID: 16e7cbbf-9a9f-4f61-8e68-934abec51218) from Async(default) in 22.01ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f] Performing BadJob (Job ID: 5289f01f-17b8-4538-b28b-df8fb51a6d2f) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f] SQL (1.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.354343"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-13 23:57:29.354709"], ["updated_at", "2018-02-13 23:57:29.354709"]] [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:57:29.357399"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:57:29.357678"], ["id", 2]] [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [5289f01f-17b8-4538-b28b-df8fb51a6d2f] Error performing BadJob (Job ID: 5289f01f-17b8-4538-b28b-df8fb51a6d2f) from Async(default) in 5.11ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3] Performing CanvasSync::Jobs::ReportChecker (Job ID: 6e6a35ae-8665-4a7f-8363-89e9c3f45dd3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.363734"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.364051"], ["updated_at", "2018-02-13 23:57:29.364051"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6e6a35ae-8665-4a7f-8363-89e9c3f45dd3] Performed CanvasSync::Jobs::ReportChecker (Job ID: 6e6a35ae-8665-4a7f-8363-89e9c3f45dd3) from Async(default) in 8.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8] Performing CanvasSync::Jobs::ReportChecker (Job ID: b6f88aa1-2b34-4883-aad2-75d5855273a8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.375058"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.375389"], ["updated_at", "2018-02-13 23:57:29.375389"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 47c5090e-b5d2-4d85-b4ae-dadb6fda9794) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b6f88aa1-2b34-4883-aad2-75d5855273a8] Performed CanvasSync::Jobs::ReportChecker (Job ID: b6f88aa1-2b34-4883-aad2-75d5855273a8) from Async(default) in 5.01ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849] Performing CanvasSync::Jobs::ReportChecker (Job ID: 36a01a21-d0cf-4d7c-9baf-dd5b5ead6849) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.383693"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.384044"], ["updated_at", "2018-02-13 23:57:29.384044"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-13 23:57:29.386511"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-13 23:57:29.386775"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36a01a21-d0cf-4d7c-9baf-dd5b5ead6849] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 36a01a21-d0cf-4d7c-9baf-dd5b5ead6849) from Async(default) in 5.09ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: ea3b4186-fd39-4283-8319-6cacddfa2e6b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.399605"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.400072"], ["updated_at", "2018-02-13 23:57:29.400072"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-13 23:57:29.402562"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.428826"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.429176"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ea3b4186-fd39-4283-8319-6cacddfa2e6b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: ea3b4186-fd39-4283-8319-6cacddfa2e6b) from Async(default) in 31.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442] Performing CanvasSync::Jobs::ReportStarter (Job ID: 8d5ff98f-277b-4be5-9ca6-9634bc313442) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.434480"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-13 23:57:29.434968"], ["updated_at", "2018-02-13 23:57:29.434968"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ad1762c5-0ae8-4203-a8c6-90d96fe6de5a) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.438061"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.438439"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8d5ff98f-277b-4be5-9ca6-9634bc313442] Performed CanvasSync::Jobs::ReportStarter (Job ID: 8d5ff98f-277b-4be5-9ca6-9634bc313442) from Async(default) in 5.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79] Performing CanvasSync::Jobs::ReportStarter (Job ID: e23b6be7-e1a4-4fe6-ac23-87ae59db7f79) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.445468"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:57:29.445913"], ["updated_at", "2018-02-13 23:57:29.445913"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.448203"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.448575"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e23b6be7-e1a4-4fe6-ac23-87ae59db7f79] Performed CanvasSync::Jobs::ReportStarter (Job ID: e23b6be7-e1a4-4fe6-ac23-87ae59db7f79) from Async(default) in 5.07ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559] Performing CanvasSync::Jobs::ReportStarter (Job ID: 8f7ddf4e-7c57-40ad-916e-e8213ddeb559) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.454578"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-13 23:57:29.455037"], ["updated_at", "2018-02-13 23:57:29.455037"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.457615"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.457880"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8f7ddf4e-7c57-40ad-916e-e8213ddeb559] Performed CanvasSync::Jobs::ReportStarter (Job ID: 8f7ddf4e-7c57-40ad-916e-e8213ddeb559) from Async(default) in 4.81ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.5ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 2cae282d-95c4-44d3-80e8-8aa37a68a8b6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.475778"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.476435"], ["updated_at", "2018-02-13 23:57:29.476435"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.493219"], ["updated_at", "2018-02-13 23:57:29.493219"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.496086"], ["updated_at", "2018-02-13 23:57:29.496086"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.498496"], ["updated_at", "2018-02-13 23:57:29.498496"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.500080"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.500346"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2cae282d-95c4-44d3-80e8-8aa37a68a8b6] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 2cae282d-95c4-44d3-80e8-8aa37a68a8b6) from Async(default) in 25.87ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c8d4f08e-621e-4aa1-ae8e-38ea81f99630) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.507066"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.507420"], ["updated_at", "2018-02-13 23:57:29.507420"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7645484a-2bb5-41b7-9262-4408f34922a7) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.510186"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.510557"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c8d4f08e-621e-4aa1-ae8e-38ea81f99630] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c8d4f08e-621e-4aa1-ae8e-38ea81f99630) from Async(default) in 5.02ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 9cfc971d-a60b-4682-ba38-55a8385a13b3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.515901"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.516277"], ["updated_at", "2018-02-13 23:57:29.516277"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3e6876bb-7dd7-4372-8e3e-97319f511eca) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.518780"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.519082"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [9cfc971d-a60b-4682-ba38-55a8385a13b3] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 9cfc971d-a60b-4682-ba38-55a8385a13b3) from Async(default) in 4.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (8.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 17076635], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 17076635], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "9db7e81b0db7ae561656abc04ba223ee"], ["created_at", "2018-02-13 23:57:29.544754"], ["updated_at", "2018-02-13 23:57:29.544754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30037468], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30037468], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "a9a8806e68450986eea7d84c6147e5e3"], ["created_at", "2018-02-13 23:57:29.548028"], ["updated_at", "2018-02-13 23:57:29.548028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 885298], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 885298], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "inactive"], ["sis_id", "b5e607633aa1a6dadf0e72b32b523be9"], ["created_at", "2018-02-13 23:57:29.550318"], ["updated_at", "2018-02-13 23:57:29.550318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6c972e1a-5aac-4642-8170-de3531d0806e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.551845"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-13 23:57:29.552393"], ["updated_at", "2018-02-13 23:57:29.552393"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e] Term Load (1.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:57:29.554584' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:57:29.554794' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.558414"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.558745"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6c972e1a-5aac-4642-8170-de3531d0806e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6c972e1a-5aac-4642-8170-de3531d0806e) from Async(default) in 8.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e4cf3882-30bf-43c3-98af-a6adec7f74ef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.563539"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-13 23:57:29.563934"], ["updated_at", "2018-02-13 23:57:29.563934"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.565669"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.565941"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e4cf3882-30bf-43c3-98af-a6adec7f74ef] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e4cf3882-30bf-43c3-98af-a6adec7f74ef) from Async(default) in 6.61ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 70c93eb2-9afa-48ba-9b52-a8c99944439e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.579813"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.580165"], ["updated_at", "2018-02-13 23:57:29.580165"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:57:29.603620"], ["updated_at", "2018-02-13 23:57:29.603620"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-13 23:57:29.612518"], ["updated_at", "2018-02-13 23:57:29.612518"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] SQL (0.3ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.618588"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.619017"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [70c93eb2-9afa-48ba-9b52-a8c99944439e] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 70c93eb2-9afa-48ba-9b52-a8c99944439e) from Async(default) in 40.98ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e1907d68-27c2-464c-ba5b-bc0b03ee1c25) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.625373"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.625812"], ["updated_at", "2018-02-13 23:57:29.625812"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4c202e29-f15f-4afd-934c-b6414fdf9ad1) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.628362"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.628629"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e1907d68-27c2-464c-ba5b-bc0b03ee1c25] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e1907d68-27c2-464c-ba5b-bc0b03ee1c25) from Async(default) in 4.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: b1f2eea5-5894-4c72-b2c3-d8da785bfd39) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.634023"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.634391"], ["updated_at", "2018-02-13 23:57:29.634391"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:57:29.641163"], ["updated_at", "2018-02-13 23:57:29.641163"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.644414"], ["updated_at", "2018-02-13 23:57:29.644414"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.646951"], ["updated_at", "2018-02-13 23:57:29.646951"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-13 23:57:29.649916"], ["updated_at", "2018-02-13 23:57:29.649916"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-13 23:57:29.652321"], ["updated_at", "2018-02-13 23:57:29.652321"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.654728"], ["updated_at", "2018-02-13 23:57:29.654728"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.9ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.656158"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.661792"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b1f2eea5-5894-4c72-b2c3-d8da785bfd39] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: b1f2eea5-5894-4c72-b2c3-d8da785bfd39) from Async(default) in 31.39ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 00c2e645-38a9-4e12-9d25-2dde875e8324) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-13 23:57:29.672861"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-13 23:57:29.673279"], ["updated_at", "2018-02-13 23:57:29.673279"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 27b98548-a08a-41b1-a9f9-b036195ccc04) to Async(default) at 2018-02-13 23:57:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-13 23:57:29.677257"], ["status", "success"], ["updated_at", "2018-02-13 23:57:29.677610"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [00c2e645-38a9-4e12-9d25-2dde875e8324] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 00c2e645-38a9-4e12-9d25-2dde875e8324) from Async(default) in 6.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 55793460], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 55793460], ["role_name", "Cool Role"], ["canvas_role_id", 59886627], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.683487"], ["updated_at", "2018-02-13 23:57:29.683487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 65564953], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 65564953], ["role_name", "Cool Role"], ["canvas_role_id", 9479629], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.694270"], ["updated_at", "2018-02-13 23:57:29.694270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 65564953], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (1.5ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.708874"], ["updated_at", "2018-02-13 23:57:29.708874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 50288483], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.715545"], ["updated_at", "2018-02-13 23:57:29.715545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-13 23:57:29.718572"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (2.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-20 23:57:29.748842"], ["unlock_at", "2018-02-12 23:57:29.748958"], ["lock_at", "2018-03-06 23:57:29.749003"], ["created_at", "2018-02-13 23:57:29.753221"], ["updated_at", "2018-02-13 23:57:29.753221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-20 23:57:29.770826"], ["unlock_at", "2018-02-12 23:57:29.770920"], ["lock_at", "2018-03-06 23:57:29.770967"], ["created_at", "2018-02-13 23:57:29.772299"], ["updated_at", "2018-02-13 23:57:29.772299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-20 23:57:29.781953"], ["unlock_at", "2018-02-12 23:57:29.782024"], ["lock_at", "2018-03-06 23:57:29.782062"], ["created_at", "2018-02-13 23:57:29.783531"], ["updated_at", "2018-02-13 23:57:29.783531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6833937], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6833937], ["sis_id", "a682c0191b305dcff65f91880d784798"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.818765"], ["end_date", "2018-03-06 23:57:29.818879"], ["created_at", "2018-02-13 23:57:29.823352"], ["updated_at", "2018-02-13 23:57:29.823352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27194973], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 27194973], ["sis_id", "6d66799d494d33052e0d734d56a1fd6f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.825384"], ["end_date", "2018-03-06 23:57:29.825451"], ["created_at", "2018-02-13 23:57:29.826752"], ["updated_at", "2018-02-13 23:57:29.826752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-20 23:57:29.829941"], ["unlock_at", "2018-02-12 23:57:29.830008"], ["lock_at", "2018-03-06 23:57:29.830051"], ["created_at", "2018-02-13 23:57:29.831359"], ["updated_at", "2018-02-13 23:57:29.831359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 4], ["LIMIT", 1]] SQL (0.7ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 27194973], ["context_type", "Course"], ["updated_at", "2018-02-13 23:57:29.834019"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 27194973], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 95443228], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 95443228], ["sis_id", "414c73fbdaffca203635f2f6d120f469"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.855970"], ["end_date", "2018-03-06 23:57:29.856066"], ["created_at", "2018-02-13 23:57:29.857077"], ["updated_at", "2018-02-13 23:57:29.857077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 42120255], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 42120255], ["sis_id", "9066efe2fce8e2bd48c3c4deacc7b5e7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.862145"], ["end_date", "2018-03-06 23:57:29.862216"], ["created_at", "2018-02-13 23:57:29.863082"], ["updated_at", "2018-02-13 23:57:29.863082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 42120255], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 71368079], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 71368079], ["sis_id", "c8819ad9e3bb6adadb72765bd162fee7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.868619"], ["end_date", "2018-03-06 23:57:29.868691"], ["created_at", "2018-02-13 23:57:29.869559"], ["updated_at", "2018-02-13 23:57:29.869559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 83399075], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 83399075], ["sis_id", "3e732ede9f88f4b72820f0a5f7ecfa63"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.873267"], ["end_date", "2018-03-06 23:57:29.873351"], ["created_at", "2018-02-13 23:57:29.874362"], ["updated_at", "2018-02-13 23:57:29.874362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 56621305], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 56621305], ["sis_id", "63183e55bfa2ff6a3ad929e07f685c4c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.878992"], ["end_date", "2018-03-06 23:57:29.879088"], ["created_at", "2018-02-13 23:57:29.880159"], ["updated_at", "2018-02-13 23:57:29.880159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 67031070], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 67031070], ["sis_id", "512caf366633046c0501d66e266b3bcc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.885665"], ["end_date", "2018-03-06 23:57:29.885773"], ["created_at", "2018-02-13 23:57:29.891928"], ["updated_at", "2018-02-13 23:57:29.891928"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 80671248], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 80671248], ["sis_id", "268786ea6e6bbbda0db7e178a2316177"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-10 23:57:29.901183"], ["end_date", "2018-03-06 23:57:29.901283"], ["created_at", "2018-02-13 23:57:29.902311"], ["updated_at", "2018-02-13 23:57:29.902311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 3758907], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 3758907], ["created_at", "2018-02-13 23:57:29.925362"], ["updated_at", "2018-02-13 23:57:29.925362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 27453551], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 27453551], ["created_at", "2018-02-13 23:57:29.931079"], ["updated_at", "2018-02-13 23:57:29.931079"]]  (2.3ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 27453551], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67318928], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 67318928], ["created_at", "2018-02-13 23:57:29.946672"], ["updated_at", "2018-02-13 23:57:29.946672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 8737653], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 8737653], ["created_at", "2018-02-13 23:57:29.952825"], ["updated_at", "2018-02-13 23:57:29.952825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 21055237], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 21055237], ["created_at", "2018-02-13 23:57:29.957082"], ["updated_at", "2018-02-13 23:57:29.957082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 18374569], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 18374569], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.961958"], ["updated_at", "2018-02-13 23:57:29.961958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 10668266], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 10668266], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.967144"], ["updated_at", "2018-02-13 23:57:29.967144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 10668266], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-13 23:57:29.976672"], ["updated_at", "2018-02-13 23:57:29.976672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-13 23:57:29.997925"], ["updated_at", "2018-02-13 23:57:29.997925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-13 23:57:30.004363"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 19584598], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 19584598], ["created_at", "2018-02-13 23:57:30.027157"], ["updated_at", "2018-02-13 23:57:30.027157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 27529851], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 27529851], ["created_at", "2018-02-13 23:57:30.034692"], ["updated_at", "2018-02-13 23:57:30.034692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 27529851], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 34409665], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 34409665], ["created_at", "2018-02-13 23:57:30.043416"], ["updated_at", "2018-02-13 23:57:30.043416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 67106796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 67106796], ["created_at", "2018-02-13 23:57:30.057610"], ["updated_at", "2018-02-13 23:57:30.057610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (3.9ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-06 23:57:30.070886"], ["graded_at", "2018-02-12 23:57:30.070979"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-13 23:57:30.076029"], ["updated_at", "2018-02-13 23:57:30.076029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-06 23:57:30.081732"], ["graded_at", "2018-02-12 23:57:30.081804"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-13 23:57:30.082620"], ["updated_at", "2018-02-13 23:57:30.082620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-06 23:57:30.087947"], ["graded_at", "2018-02-12 23:57:30.088012"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-13 23:57:30.088853"], ["updated_at", "2018-02-13 23:57:30.088853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-06 23:57:30.101573"], ["graded_at", "2018-02-12 23:57:30.101655"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-13 23:57:30.102718"], ["updated_at", "2018-02-13 23:57:30.102718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-06 23:57:30.106521"], ["graded_at", "2018-02-12 23:57:30.106592"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-13 23:57:30.107478"], ["updated_at", "2018-02-13 23:57:30.107478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66020073], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66020073], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "c648395646887141f1fa145dd6dc4bab"], ["created_at", "2018-02-13 23:57:30.113360"], ["updated_at", "2018-02-13 23:57:30.113360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23389704], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 23389704], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "e5f31d3f915644b3fe17f32f3967e3e2"], ["created_at", "2018-02-13 23:57:30.120454"], ["updated_at", "2018-02-13 23:57:30.120454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23389704], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7138527], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7138527], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "0b343c6085f45703780f0d0a69da2654"], ["created_at", "2018-02-13 23:57:30.127171"], ["updated_at", "2018-02-13 23:57:30.127171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66549757], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66549757], ["name", "Cool Term"], ["start_at", "2018-02-11 23:57:30.130613"], ["end_at", "2018-02-16 23:57:30.130669"], ["workflow_state", "active"], ["sis_id", "b97dcab1841dc5a0d71899aa4a990088"], ["created_at", "2018-02-13 23:57:30.131797"], ["updated_at", "2018-02-13 23:57:30.131797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80776115], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80776115], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "inactive"], ["sis_id", "ba5c9256ee8be120365a589f1ebea8c9"], ["created_at", "2018-02-13 23:57:30.133556"], ["updated_at", "2018-02-13 23:57:30.133556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35179776], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35179776], ["name", "Cool Term"], ["start_at", "2017-12-13 23:57:30.134456"], ["end_at", "2018-01-13 23:57:30.134523"], ["workflow_state", "active"], ["sis_id", "c50cdc41ed30658aed56f9f098b6b44a"], ["created_at", "2018-02-13 23:57:30.135377"], ["updated_at", "2018-02-13 23:57:30.135377"]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 58382150], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 58382150], ["name", "Cool Term"], ["start_at", "2018-08-13 23:57:30.143806"], ["end_at", "2019-02-13 23:57:30.143903"], ["workflow_state", "active"], ["sis_id", "204c12b56a30e0d5f9185a57fa0c5834"], ["created_at", "2018-02-13 23:57:30.145660"], ["updated_at", "2018-02-13 23:57:30.145660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-02-28 23:57:30.147091' OR start_at IS NULL) AND (end_at >= '2018-01-29 23:57:30.147236' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-13 23:57:30.155963"], ["updated_at", "2018-02-13 23:57:30.155963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-10 23:57:25.538920"], ["end_at", "2018-02-16 23:57:25.539127"], ["workflow_state", "active"], ["sis_id", "2ce4a89e729f536425c07065054cc88f"], ["created_at", "2018-02-13 23:57:30.161486"], ["updated_at", "2018-02-13 23:57:30.161486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-13 23:57:30.164441"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.9ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 9290636], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 9290636], ["sis_id", "0c534a48a68d52b44a12b1624427c10c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:57:30.181768"], ["updated_at", "2018-02-13 23:57:30.181768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 8537683], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 8537683], ["sis_id", "4ba15f753147497332e2f9655bf33166"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:57:30.198731"], ["updated_at", "2018-02-13 23:57:30.198731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 8537683], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 97943815], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 97943815], ["sis_id", "39009ea561d7f6fb2613628aec009004"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:57:30.207972"], ["updated_at", "2018-02-13 23:57:30.207972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 1650398], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 1650398], ["sis_id", "4fb92b40c3deaaef1d137a706c1b6276"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-13 23:57:30.212800"], ["updated_at", "2018-02-13 23:57:30.212800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-13 23:57:30.225008','2018-02-13 23:57:30.225008'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-13 23:57:30.225008','2018-02-13 23:57:30.225008') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:57:30.232731','2018-02-13 23:57:30.232731'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:57:30.232731','2018-02-13 23:57:30.232731') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:57:30.239719','2018-02-13 23:57:30.239719'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:57:30.239719','2018-02-13 23:57:30.239719') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-13 23:57:30.256015','2018-02-13 23:57:30.256015'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-13 23:57:30.256015','2018-02-13 23:57:30.256015') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:57:30.264092','2018-02-13 23:57:30.264092'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-13 23:57:30.264092','2018-02-13 23:57:30.264092') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-13 23:57:30.271481','2018-02-13 23:57:30.271481') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-13 23:57:30.281347','2018-02-13 23:57:30.281347'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-13 23:57:30.281347','2018-02-13 23:57:30.281347') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-13 23:57:30.282861','2018-02-13 23:57:30.282861'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-13 23:57:30.282861','2018-02-13 23:57:30.282861') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e] Performing GoodJob (Job ID: e8c9be68-f8c1-4dfc-81e5-a97af385823e) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.441610"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:00:59.459878"], ["updated_at", "2018-02-14 00:00:59.459878"]] [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.461919"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.462309"], ["id", 19]] [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e8c9be68-f8c1-4dfc-81e5-a97af385823e] Performed GoodJob (Job ID: e8c9be68-f8c1-4dfc-81e5-a97af385823e) from Async(default) in 22.08ms  (1.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0] Performing BadJob (Job ID: ce4cfa3d-a5de-4e4b-9770-c80d546232a0) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.471450"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:00:59.471775"], ["updated_at", "2018-02-14 00:00:59.471775"]] [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:00:59.473367"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:00:59.473718"], ["id", 20]] [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [ce4cfa3d-a5de-4e4b-9770-c80d546232a0] Error performing BadJob (Job ID: ce4cfa3d-a5de-4e4b-9770-c80d546232a0) from Async(default) in 4.23ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87] Performing CanvasSync::Jobs::ReportChecker (Job ID: 89ce3f7e-52db-4713-8238-dcdf82617a87) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.479767"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.480068"], ["updated_at", "2018-02-14 00:00:59.480068"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 21]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89ce3f7e-52db-4713-8238-dcdf82617a87] Performed CanvasSync::Jobs::ReportChecker (Job ID: 89ce3f7e-52db-4713-8238-dcdf82617a87) from Async(default) in 7.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104] Performing CanvasSync::Jobs::ReportChecker (Job ID: ef90d7f1-2cf9-4537-95c0-f837ac49d104) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.490338"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.490679"], ["updated_at", "2018-02-14 00:00:59.490679"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: bece9227-0151-4e39-bc48-0355a80e38cb) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 22]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ef90d7f1-2cf9-4537-95c0-f837ac49d104] Performed CanvasSync::Jobs::ReportChecker (Job ID: ef90d7f1-2cf9-4537-95c0-f837ac49d104) from Async(default) in 5.74ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30] Performing CanvasSync::Jobs::ReportChecker (Job ID: 5300b746-c2a5-448a-aff3-0bc5c0530a30) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.499772"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.500142"], ["updated_at", "2018-02-14 00:00:59.500142"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30] SQL (4.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:00:59.502582"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:00:59.502867"], ["id", 23]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5300b746-c2a5-448a-aff3-0bc5c0530a30] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 5300b746-c2a5-448a-aff3-0bc5c0530a30) from Async(default) in 12.45ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: ce317fc0-4695-41f6-be31-3eef63a2a01b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.516836"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.517251"], ["updated_at", "2018-02-14 00:00:59.517251"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:00:59.519350"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.542768"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.543153"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce317fc0-4695-41f6-be31-3eef63a2a01b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: ce317fc0-4695-41f6-be31-3eef63a2a01b) from Async(default) in 27.82ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9ce17d25-03c6-4356-8ec4-51171e9a331a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.548523"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:00:59.548923"], ["updated_at", "2018-02-14 00:00:59.548923"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 953ea8dd-75de-43d1-b75c-2100a6bd2b54) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.559368"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.559777"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ce17d25-03c6-4356-8ec4-51171e9a331a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9ce17d25-03c6-4356-8ec4-51171e9a331a) from Async(default) in 13.07ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48] Performing CanvasSync::Jobs::ReportStarter (Job ID: fd87366b-0250-420f-ad11-cb927fd58c48) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48] SQL (0.7ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.565650"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:00:59.566037"], ["updated_at", "2018-02-14 00:00:59.566037"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.569828"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.570106"], ["id", 26]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [fd87366b-0250-420f-ad11-cb927fd58c48] Performed CanvasSync::Jobs::ReportStarter (Job ID: fd87366b-0250-420f-ad11-cb927fd58c48) from Async(default) in 6.06ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12] Performing CanvasSync::Jobs::ReportStarter (Job ID: b58b1512-07c8-4b05-904b-321fda117b12) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.575030"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:00:59.575426"], ["updated_at", "2018-02-14 00:00:59.575426"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.578093"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.578411"], ["id", 27]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b58b1512-07c8-4b05-904b-321fda117b12] Performed CanvasSync::Jobs::ReportStarter (Job ID: b58b1512-07c8-4b05-904b-321fda117b12) from Async(default) in 4.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.4ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.590929"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.591301"], ["updated_at", "2018-02-14 00:00:59.591301"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.614045"], ["updated_at", "2018-02-14 00:00:59.614045"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.617183"], ["updated_at", "2018-02-14 00:00:59.617183"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.619671"], ["updated_at", "2018-02-14 00:00:59.619671"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.3ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (8, 9, 10)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.621404"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.621716"], ["id", 28]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 1fa8c7eb-cc8a-4b2b-895c-3364adb79b6d) from Async(default) in 33.47ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c1e89707-6c33-4217-bd27-1a08845b3d30) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.629714"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.630133"], ["updated_at", "2018-02-14 00:00:59.630133"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9a0ff9d9-22cd-4c26-a604-d9da16c642de) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.632947"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.633272"], ["id", 29]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c1e89707-6c33-4217-bd27-1a08845b3d30] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c1e89707-6c33-4217-bd27-1a08845b3d30) from Async(default) in 4.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: b272b435-bb7d-4518-b76b-2c58d7db3595) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.637696"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.638067"], ["updated_at", "2018-02-14 00:00:59.638067"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: be165bda-8678-487f-8bf1-7a4ee8c8f023) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.640177"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.640471"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [b272b435-bb7d-4518-b76b-2c58d7db3595] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: b272b435-bb7d-4518-b76b-2c58d7db3595) from Async(default) in 4.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (4.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44375181], ["LIMIT", 1]] SQL (2.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44375181], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "47b5b0cf4605a73604568cd64e78301c"], ["created_at", "2018-02-14 00:00:59.659481"], ["updated_at", "2018-02-14 00:00:59.659481"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82551972], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82551972], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "00738a5c470e31924b8660410fda4c4a"], ["created_at", "2018-02-14 00:00:59.669449"], ["updated_at", "2018-02-14 00:00:59.669449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96594242], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 96594242], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "inactive"], ["sis_id", "2baf87464a5ae802d905337cadfd12e9"], ["created_at", "2018-02-14 00:00:59.671903"], ["updated_at", "2018-02-14 00:00:59.671903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 86070928-831c-42e1-a1e0-4f1e94c6782b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.673648"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:00:59.674045"], ["updated_at", "2018-02-14 00:00:59.674045"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:00:59.676183' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:00:59.676370' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.677738"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.678064"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [86070928-831c-42e1-a1e0-4f1e94c6782b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 86070928-831c-42e1-a1e0-4f1e94c6782b) from Async(default) in 6.99ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 77b9df72-2bce-4196-949d-365735df8f5b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.684339"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:00:59.684666"], ["updated_at", "2018-02-14 00:00:59.684666"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.686624"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.686897"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [77b9df72-2bce-4196-949d-365735df8f5b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 77b9df72-2bce-4196-949d-365735df8f5b) from Async(default) in 3.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 1b0b7d0f-d1ed-422c-920c-0c461fdade5d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.699329"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.699665"], ["updated_at", "2018-02-14 00:00:59.699665"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:00:59.718529"], ["updated_at", "2018-02-14 00:00:59.718529"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:00:59.737263"], ["updated_at", "2018-02-14 00:00:59.737263"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (7, 8)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.741627"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.742225"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1b0b7d0f-d1ed-422c-920c-0c461fdade5d] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 1b0b7d0f-d1ed-422c-920c-0c461fdade5d) from Async(default) in 44.73ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: fbd41653-b654-47dc-b240-ec671e16fd71) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.748947"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.749314"], ["updated_at", "2018-02-14 00:00:59.749314"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e242b7f1-f834-4a44-ab6b-78b0e2c69c98) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.751824"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.752077"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [fbd41653-b654-47dc-b240-ec671e16fd71] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: fbd41653-b654-47dc-b240-ec671e16fd71) from Async(default) in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 8158d3a3-2e85-4f87-b030-6dedf4ffeddc) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.757375"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.757737"], ["updated_at", "2018-02-14 00:00:59.757737"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:00:59.764647"], ["updated_at", "2018-02-14 00:00:59.764647"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.766938"], ["updated_at", "2018-02-14 00:00:59.766938"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.769054"], ["updated_at", "2018-02-14 00:00:59.769054"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:00:59.772103"], ["updated_at", "2018-02-14 00:00:59.772103"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:00:59.774729"], ["updated_at", "2018-02-14 00:00:59.774729"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.777181"], ["updated_at", "2018-02-14 00:00:59.777181"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.778133"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.778415"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [8158d3a3-2e85-4f87-b030-6dedf4ffeddc] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 8158d3a3-2e85-4f87-b030-6dedf4ffeddc) from Async(default) in 22.35ms  (1.5ms) SELECT COUNT(*) FROM "terms"  (0.6ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 89556a90-72f6-43a3-9d57-2562b21c0bfa) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:00:59.792587"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:00:59.793066"], ["updated_at", "2018-02-14 00:00:59.793066"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 74dda653-a7a1-457c-8116-d45ce7e3ac22) to Async(default) at 2018-02-14 00:01:29 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:00:59.796063"], ["status", "success"], ["updated_at", "2018-02-14 00:00:59.796404"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [89556a90-72f6-43a3-9d57-2562b21c0bfa] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 89556a90-72f6-43a3-9d57-2562b21c0bfa) from Async(default) in 5.19ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 21407074], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 21407074], ["role_name", "Cool Role"], ["canvas_role_id", 4611755], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.803077"], ["updated_at", "2018-02-14 00:00:59.803077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 55125701], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 55125701], ["role_name", "Cool Role"], ["canvas_role_id", 59329984], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.814518"], ["updated_at", "2018-02-14 00:00:59.814518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 55125701], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.822875"], ["updated_at", "2018-02-14 00:00:59.822875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (1.3ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 66161155], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:00:59.836015"], ["updated_at", "2018-02-14 00:00:59.836015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 14], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:00:59.839114"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (9.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:00:59.863879"], ["unlock_at", "2018-02-13 00:00:59.863976"], ["lock_at", "2018-03-07 00:00:59.864016"], ["created_at", "2018-02-14 00:00:59.875818"], ["updated_at", "2018-02-14 00:00:59.875818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:00:59.882547"], ["unlock_at", "2018-02-13 00:00:59.882688"], ["lock_at", "2018-03-07 00:00:59.882733"], ["created_at", "2018-02-14 00:00:59.883696"], ["updated_at", "2018-02-14 00:00:59.883696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:00:59.891591"], ["unlock_at", "2018-02-13 00:00:59.891670"], ["lock_at", "2018-03-07 00:00:59.891712"], ["created_at", "2018-02-14 00:00:59.892947"], ["updated_at", "2018-02-14 00:00:59.892947"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (9.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 57127076], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 57127076], ["sis_id", "2ccac51e2414c60667d0c65141bc9a84"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.919035"], ["end_date", "2018-03-07 00:00:59.919146"], ["created_at", "2018-02-14 00:00:59.930237"], ["updated_at", "2018-02-14 00:00:59.930237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60090158], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60090158], ["sis_id", "214ad1357df74300f8c896355a946680"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.933162"], ["end_date", "2018-03-07 00:00:59.933253"], ["created_at", "2018-02-14 00:00:59.934839"], ["updated_at", "2018-02-14 00:00:59.934839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:00:59.936680"], ["unlock_at", "2018-02-13 00:00:59.937269"], ["lock_at", "2018-03-07 00:00:59.937317"], ["created_at", "2018-02-14 00:00:59.938670"], ["updated_at", "2018-02-14 00:00:59.938670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 10], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 60090158], ["context_type", "Course"], ["updated_at", "2018-02-14 00:00:59.943405"], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60090158], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 72795258], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 72795258], ["sis_id", "e7fb8f1af23c96ccbdfbfc3b39709f7e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.963758"], ["end_date", "2018-03-07 00:00:59.963836"], ["created_at", "2018-02-14 00:00:59.965321"], ["updated_at", "2018-02-14 00:00:59.965321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58129749], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58129749], ["sis_id", "ac8b617a0cc26de52817ed767d270a9d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.972665"], ["end_date", "2018-03-07 00:00:59.972743"], ["created_at", "2018-02-14 00:00:59.973708"], ["updated_at", "2018-02-14 00:00:59.973708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58129749], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 70211895], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 70211895], ["sis_id", "4a0d51832d36411e0a5a958fcb49e2e2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.982869"], ["end_date", "2018-03-07 00:00:59.983005"], ["created_at", "2018-02-14 00:00:59.984960"], ["updated_at", "2018-02-14 00:00:59.984960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 53727295], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 53727295], ["sis_id", "0d7c403ddcc5d12a0e0f54e64adae522"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:00:59.991972"], ["end_date", "2018-03-07 00:00:59.992074"], ["created_at", "2018-02-14 00:00:59.993571"], ["updated_at", "2018-02-14 00:00:59.993571"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 54954506], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 54954506], ["sis_id", "94f61c46958dcbd8d9c66c7a87cf714d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:01:00.009290"], ["end_date", "2018-03-07 00:01:00.009398"], ["created_at", "2018-02-14 00:01:00.010555"], ["updated_at", "2018-02-14 00:01:00.010555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 51399109], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 51399109], ["sis_id", "4585e6fe847373aaaf6a9f99e18d1e9f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:01:00.017751"], ["end_date", "2018-03-07 00:01:00.017827"], ["created_at", "2018-02-14 00:01:00.019191"], ["updated_at", "2018-02-14 00:01:00.019191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65374619], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 65374619], ["sis_id", "cf7fd99ec7a7229074ca7f43d5c43421"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:01:00.023769"], ["end_date", "2018-03-07 00:01:00.023846"], ["created_at", "2018-02-14 00:01:00.025313"], ["updated_at", "2018-02-14 00:01:00.025313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 72992712], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 72992712], ["created_at", "2018-02-14 00:01:00.067129"], ["updated_at", "2018-02-14 00:01:00.067129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 28620493], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 28620493], ["created_at", "2018-02-14 00:01:00.074216"], ["updated_at", "2018-02-14 00:01:00.074216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 28620493], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 30842542], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 30842542], ["created_at", "2018-02-14 00:01:00.081599"], ["updated_at", "2018-02-14 00:01:00.081599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 21576007], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 21576007], ["created_at", "2018-02-14 00:01:00.085772"], ["updated_at", "2018-02-14 00:01:00.085772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 70637687], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 70637687], ["created_at", "2018-02-14 00:01:00.089695"], ["updated_at", "2018-02-14 00:01:00.089695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 31365151], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 31365151], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:01:00.094778"], ["updated_at", "2018-02-14 00:01:00.094778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41961450], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 41961450], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:01:00.101388"], ["updated_at", "2018-02-14 00:01:00.101388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 41961450], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:01:00.121747"], ["updated_at", "2018-02-14 00:01:00.121747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:01:00.133862"], ["updated_at", "2018-02-14 00:01:00.133862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:01:00.138241"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (19.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 43649777], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 43649777], ["created_at", "2018-02-14 00:01:00.187331"], ["updated_at", "2018-02-14 00:01:00.187331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 23281424], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 23281424], ["created_at", "2018-02-14 00:01:00.195521"], ["updated_at", "2018-02-14 00:01:00.195521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 23281424], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 52025911], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 52025911], ["created_at", "2018-02-14 00:01:00.202897"], ["updated_at", "2018-02-14 00:01:00.202897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 63954400], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 63954400], ["created_at", "2018-02-14 00:01:00.207780"], ["updated_at", "2018-02-14 00:01:00.207780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (19.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:01:00.220454"], ["graded_at", "2018-02-13 00:01:00.220562"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:01:00.241820"], ["updated_at", "2018-02-14 00:01:00.241820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:01:00.250209"], ["graded_at", "2018-02-13 00:01:00.250340"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:01:00.251262"], ["updated_at", "2018-02-14 00:01:00.251262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:01:00.256921"], ["graded_at", "2018-02-13 00:01:00.256991"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:01:00.257802"], ["updated_at", "2018-02-14 00:01:00.257802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:01:00.262285"], ["graded_at", "2018-02-13 00:01:00.262358"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:01:00.263219"], ["updated_at", "2018-02-14 00:01:00.263219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:01:00.266757"], ["graded_at", "2018-02-13 00:01:00.266829"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:01:00.267615"], ["updated_at", "2018-02-14 00:01:00.267615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 48935579], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 48935579], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "dd3e226a802d5299c0eca50ba82b259a"], ["created_at", "2018-02-14 00:01:00.272607"], ["updated_at", "2018-02-14 00:01:00.272607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26763520], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 26763520], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "96a0a84964cfe73286e30702a41e38ec"], ["created_at", "2018-02-14 00:01:00.278841"], ["updated_at", "2018-02-14 00:01:00.278841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26763520], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50644126], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50644126], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "ce822c52409d1ef014ed7a091801e27f"], ["created_at", "2018-02-14 00:01:00.294395"], ["updated_at", "2018-02-14 00:01:00.294395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 31306190], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 31306190], ["name", "Cool Term"], ["start_at", "2018-02-12 00:01:00.298321"], ["end_at", "2018-02-17 00:01:00.298398"], ["workflow_state", "active"], ["sis_id", "a0762205db8bf4728c5dc872934d9027"], ["created_at", "2018-02-14 00:01:00.300754"], ["updated_at", "2018-02-14 00:01:00.300754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94080190], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94080190], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "inactive"], ["sis_id", "55dae784a7f61e7cab82d3f7e622627e"], ["created_at", "2018-02-14 00:01:00.302906"], ["updated_at", "2018-02-14 00:01:00.302906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 58509929], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 58509929], ["name", "Cool Term"], ["start_at", "2017-12-14 00:01:00.303842"], ["end_at", "2018-01-14 00:01:00.303911"], ["workflow_state", "active"], ["sis_id", "333009824d7db444ab6f991a9ab82532"], ["created_at", "2018-02-14 00:01:00.304921"], ["updated_at", "2018-02-14 00:01:00.304921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67810938], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67810938], ["name", "Cool Term"], ["start_at", "2018-08-14 00:01:00.305860"], ["end_at", "2019-02-14 00:01:00.305907"], ["workflow_state", "active"], ["sis_id", "6bfe93f017156b77bffb99ffc5f44a89"], ["created_at", "2018-02-14 00:01:00.306792"], ["updated_at", "2018-02-14 00:01:00.306792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:01:00.307815' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:01:00.307954' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:01:00.314820"], ["updated_at", "2018-02-14 00:01:00.314820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:00:58.392051"], ["end_at", "2018-02-17 00:00:58.392239"], ["workflow_state", "active"], ["sis_id", "18c4e34a2519dc721bbb311b040d1c86"], ["created_at", "2018-02-14 00:01:00.320494"], ["updated_at", "2018-02-14 00:01:00.320494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:01:00.323397"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (4.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 89195384], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 89195384], ["sis_id", "f85a85a1e337bffce7e16f9731f3e5be"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:01:00.351160"], ["updated_at", "2018-02-14 00:01:00.351160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 68539589], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 68539589], ["sis_id", "c78b576a84722660ca1c528e0df17b77"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:01:00.357116"], ["updated_at", "2018-02-14 00:01:00.357116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 68539589], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 67136760], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 67136760], ["sis_id", "d244ac28f23af9fca5b68590491cebc1"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:01:00.364401"], ["updated_at", "2018-02-14 00:01:00.364401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26005348], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 26005348], ["sis_id", "e3116853031dc5fe428e011ae13db095"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:01:00.368514"], ["updated_at", "2018-02-14 00:01:00.368514"]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:01:00.382891','2018-02-14 00:01:00.382891'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:01:00.382891','2018-02-14 00:01:00.382891') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:01:00.391335','2018-02-14 00:01:00.391335'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:01:00.391335','2018-02-14 00:01:00.391335') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:01:00.399069','2018-02-14 00:01:00.399069'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:01:00.399069','2018-02-14 00:01:00.399069') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:01:00.406740','2018-02-14 00:01:00.406740'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:01:00.406740','2018-02-14 00:01:00.406740') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:01:00.421032','2018-02-14 00:01:00.421032'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:01:00.421032','2018-02-14 00:01:00.421032') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:01:00.429089','2018-02-14 00:01:00.429089') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:01:00.444257','2018-02-14 00:01:00.444257'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:01:00.444257','2018-02-14 00:01:00.444257') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:01:00.446195','2018-02-14 00:01:00.446195'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:01:00.446195','2018-02-14 00:01:00.446195') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc] Performing GoodJob (Job ID: f18a419a-a4dc-4633-8458-594b903d22fc) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc] SQL (1.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.221070"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:02:20.244789"], ["updated_at", "2018-02-14 00:02:20.244789"]] [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.247883"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.248209"], ["id", 37]] [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [f18a419a-a4dc-4633-8458-594b903d22fc] Performed GoodJob (Job ID: f18a419a-a4dc-4633-8458-594b903d22fc) from Async(default) in 28.7ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530] Performing BadJob (Job ID: 6ccbee2b-cf93-4ce9-b339-ed4aab2c5530) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.256630"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:02:20.258403"], ["updated_at", "2018-02-14 00:02:20.258403"]] [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:02:20.259919"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:02:20.260165"], ["id", 38]] [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [6ccbee2b-cf93-4ce9-b339-ed4aab2c5530] Error performing BadJob (Job ID: 6ccbee2b-cf93-4ce9-b339-ed4aab2c5530) from Async(default) in 5.23ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968] Performing CanvasSync::Jobs::ReportChecker (Job ID: 5dbc43e0-a3da-439b-ac49-8016bf6f3968) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.265856"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.266348"], ["updated_at", "2018-02-14 00:02:20.266348"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 39]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dbc43e0-a3da-439b-ac49-8016bf6f3968] Performed CanvasSync::Jobs::ReportChecker (Job ID: 5dbc43e0-a3da-439b-ac49-8016bf6f3968) from Async(default) in 8.34ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c] Performing CanvasSync::Jobs::ReportChecker (Job ID: 89beb6e5-7952-47e7-a2b6-e10f3753c34c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.277096"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.277428"], ["updated_at", "2018-02-14 00:02:20.277428"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fa3611ac-4733-43c6-a6ea-e428ce1fff1b) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 40]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [89beb6e5-7952-47e7-a2b6-e10f3753c34c] Performed CanvasSync::Jobs::ReportChecker (Job ID: 89beb6e5-7952-47e7-a2b6-e10f3753c34c) from Async(default) in 4.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2599d265-c254-4089-839e-3be17bd99c89) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.285457"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.285820"], ["updated_at", "2018-02-14 00:02:20.285820"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:02:20.288348"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:02:20.288647"], ["id", 41]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2599d265-c254-4089-839e-3be17bd99c89] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 2599d265-c254-4089-839e-3be17bd99c89) from Async(default) in 5.36ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 41195eae-0107-4258-8baa-053719ac5c27) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.302617"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.303074"], ["updated_at", "2018-02-14 00:02:20.303074"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:02:20.305286"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.327477"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.327855"], ["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [41195eae-0107-4258-8baa-053719ac5c27] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 41195eae-0107-4258-8baa-053719ac5c27) from Async(default) in 26.66ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2] Performing CanvasSync::Jobs::ReportStarter (Job ID: dc919aaa-d806-4009-8f11-3012368f21f2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.332920"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:02:20.333278"], ["updated_at", "2018-02-14 00:02:20.333278"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e437defe-b436-4b35-a2d2-af7cfcd44ddd) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.335886"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.336179"], ["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dc919aaa-d806-4009-8f11-3012368f21f2] Performed CanvasSync::Jobs::ReportStarter (Job ID: dc919aaa-d806-4009-8f11-3012368f21f2) from Async(default) in 4.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d] Performing CanvasSync::Jobs::ReportStarter (Job ID: c206356a-1e7c-458e-ae77-005038331f7d) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.341686"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:02:20.342074"], ["updated_at", "2018-02-14 00:02:20.342074"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.344253"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.344528"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c206356a-1e7c-458e-ae77-005038331f7d] Performed CanvasSync::Jobs::ReportStarter (Job ID: c206356a-1e7c-458e-ae77-005038331f7d) from Async(default) in 4.28ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d] Performing CanvasSync::Jobs::ReportStarter (Job ID: c8979a8e-4183-4fb9-9390-79b8fa6b9b3d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.357581"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:02:20.358060"], ["updated_at", "2018-02-14 00:02:20.358060"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.360869"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.361143"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c8979a8e-4183-4fb9-9390-79b8fa6b9b3d] Performed CanvasSync::Jobs::ReportStarter (Job ID: c8979a8e-4183-4fb9-9390-79b8fa6b9b3d) from Async(default) in 5.03ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: caa8d3ab-2edb-4429-981a-1ec94991be3e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.370660"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.371089"], ["updated_at", "2018-02-14 00:02:20.371089"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.385096"], ["updated_at", "2018-02-14 00:02:20.385096"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.387815"], ["updated_at", "2018-02-14 00:02:20.387815"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.390205"], ["updated_at", "2018-02-14 00:02:20.390205"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (15, 16, 17)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.391833"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.392114"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [caa8d3ab-2edb-4429-981a-1ec94991be3e] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: caa8d3ab-2edb-4429-981a-1ec94991be3e) from Async(default) in 22.79ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 89bb69c2-739a-42f9-bdab-9c8ba6286ce2) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.397852"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.398299"], ["updated_at", "2018-02-14 00:02:20.398299"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 03a94211-b2c2-4187-abe3-7a043773275d) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2]  (0.6ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.400988"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.404743"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [89bb69c2-739a-42f9-bdab-9c8ba6286ce2] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 89bb69c2-739a-42f9-bdab-9c8ba6286ce2) from Async(default) in 12.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 23e6c7cd-9894-4e2a-a51a-5352e299fe45) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.414974"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.415333"], ["updated_at", "2018-02-14 00:02:20.415333"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d070ec0f-b1a5-4e95-b9a0-a14ef279508e) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.417773"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.418103"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23e6c7cd-9894-4e2a-a51a-5352e299fe45] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 23e6c7cd-9894-4e2a-a51a-5352e299fe45) from Async(default) in 4.37ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37517483], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37517483], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "295776c94179f11b510e99a762108f7b"], ["created_at", "2018-02-14 00:02:20.434680"], ["updated_at", "2018-02-14 00:02:20.434680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27788912], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27788912], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "2e9cb45c0b8bbf3903b63bd284265e9b"], ["created_at", "2018-02-14 00:02:20.436702"], ["updated_at", "2018-02-14 00:02:20.436702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25183763], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25183763], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "inactive"], ["sis_id", "790b42d008762ae6d0611acf5af00ba7"], ["created_at", "2018-02-14 00:02:20.438402"], ["updated_at", "2018-02-14 00:02:20.438402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a5bc554f-4d41-49ec-bc9d-06b291f7322b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b] SQL (0.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.439741"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:02:20.440144"], ["updated_at", "2018-02-14 00:02:20.440144"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:02:20.441983' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:02:20.442138' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.443304"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.443645"], ["id", 49]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a5bc554f-4d41-49ec-bc9d-06b291f7322b] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a5bc554f-4d41-49ec-bc9d-06b291f7322b) from Async(default) in 5.23ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: afe93985-69e7-4796-b08a-e5af0232006f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.455661"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:02:20.456041"], ["updated_at", "2018-02-14 00:02:20.456041"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.457985"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.458251"], ["id", 50]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [afe93985-69e7-4796-b08a-e5af0232006f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: afe93985-69e7-4796-b08a-e5af0232006f) from Async(default) in 3.88ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.467562"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.467938"], ["updated_at", "2018-02-14 00:02:20.467938"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:02:20.485861"], ["updated_at", "2018-02-14 00:02:20.485861"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:02:20.506425"], ["updated_at", "2018-02-14 00:02:20.506425"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (13, 14)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.512266"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.512578"], ["id", 51]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: a3d659c0-fcbc-4e19-a037-dd05c8e2c1f7) from Async(default) in 46.4ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: dbb4a185-df9c-4aa3-a3a5-78e48aca3a37) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.519141"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.519652"], ["updated_at", "2018-02-14 00:02:20.519652"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dca139b2-cccf-469d-9fdf-d8543cf742e9) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.522439"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.522670"], ["id", 52]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [dbb4a185-df9c-4aa3-a3a5-78e48aca3a37] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: dbb4a185-df9c-4aa3-a3a5-78e48aca3a37) from Async(default) in 4.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 635c09fb-26e6-4aa0-a156-d25fb3600f3f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.527854"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.528161"], ["updated_at", "2018-02-14 00:02:20.528161"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:02:20.536167"], ["updated_at", "2018-02-14 00:02:20.536167"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.538735"], ["updated_at", "2018-02-14 00:02:20.538735"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.540924"], ["updated_at", "2018-02-14 00:02:20.540924"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:02:20.543802"], ["updated_at", "2018-02-14 00:02:20.543802"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:02:20.546362"], ["updated_at", "2018-02-14 00:02:20.546362"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.548918"], ["updated_at", "2018-02-14 00:02:20.548918"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.550119"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.552029"], ["id", 53]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [635c09fb-26e6-4aa0-a156-d25fb3600f3f] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 635c09fb-26e6-4aa0-a156-d25fb3600f3f) from Async(default) in 32.4ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 830e2e35-83b2-45ba-96b0-412ec6e9f62c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:02:20.565215"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:02:20.565650"], ["updated_at", "2018-02-14 00:02:20.565650"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e3d6d217-f2a4-43ad-9dab-475e6023cb7a) to Async(default) at 2018-02-14 00:02:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:02:20.568534"], ["status", "success"], ["updated_at", "2018-02-14 00:02:20.568886"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [830e2e35-83b2-45ba-96b0-412ec6e9f62c] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 830e2e35-83b2-45ba-96b0-412ec6e9f62c) from Async(default) in 6.13ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 92152919], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 92152919], ["role_name", "Cool Role"], ["canvas_role_id", 69216146], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.575221"], ["updated_at", "2018-02-14 00:02:20.575221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 12967248], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 12967248], ["role_name", "Cool Role"], ["canvas_role_id", 7033089], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.585078"], ["updated_at", "2018-02-14 00:02:20.585078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 12967248], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.593089"], ["updated_at", "2018-02-14 00:02:20.593089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 81050764], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.598964"], ["updated_at", "2018-02-14 00:02:20.598964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 21], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:02:20.602157"], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.8ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:02:20.631647"], ["unlock_at", "2018-02-13 00:02:20.631756"], ["lock_at", "2018-03-07 00:02:20.631799"], ["created_at", "2018-02-14 00:02:20.634946"], ["updated_at", "2018-02-14 00:02:20.634946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:02:20.641012"], ["unlock_at", "2018-02-13 00:02:20.641088"], ["lock_at", "2018-03-07 00:02:20.641125"], ["created_at", "2018-02-14 00:02:20.641913"], ["updated_at", "2018-02-14 00:02:20.641913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.1ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.1ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:02:20.647619"], ["unlock_at", "2018-02-13 00:02:20.647695"], ["lock_at", "2018-03-07 00:02:20.647738"], ["created_at", "2018-02-14 00:02:20.655779"], ["updated_at", "2018-02-14 00:02:20.655779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 41159514], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 41159514], ["sis_id", "1f8d34dd0f1c269b7555509752def506"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.673730"], ["end_date", "2018-03-07 00:02:20.673825"], ["created_at", "2018-02-14 00:02:20.676021"], ["updated_at", "2018-02-14 00:02:20.676021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25921947], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 25921947], ["sis_id", "c37af747a13508ab3bc0df9e2ba9c686"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.677464"], ["end_date", "2018-03-07 00:02:20.677521"], ["created_at", "2018-02-14 00:02:20.678285"], ["updated_at", "2018-02-14 00:02:20.678285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.1ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:02:20.679369"], ["unlock_at", "2018-02-13 00:02:20.679424"], ["lock_at", "2018-03-07 00:02:20.679473"], ["created_at", "2018-02-14 00:02:20.680233"], ["updated_at", "2018-02-14 00:02:20.680233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 16], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 25921947], ["context_type", "Course"], ["updated_at", "2018-02-14 00:02:20.682380"], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25921947], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65782164], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 65782164], ["sis_id", "c83f5df1c802609a47036cc0e383418b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.704849"], ["end_date", "2018-03-07 00:02:20.704957"], ["created_at", "2018-02-14 00:02:20.706327"], ["updated_at", "2018-02-14 00:02:20.706327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 53144687], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 53144687], ["sis_id", "5f01b8a779bececfdf4b9d78e79f7cb2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.713031"], ["end_date", "2018-03-07 00:02:20.713156"], ["created_at", "2018-02-14 00:02:20.714177"], ["updated_at", "2018-02-14 00:02:20.714177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 53144687], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 12061951], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 12061951], ["sis_id", "d001113123fc0ace091d6c0a0dbddc5a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.720435"], ["end_date", "2018-03-07 00:02:20.720504"], ["created_at", "2018-02-14 00:02:20.721323"], ["updated_at", "2018-02-14 00:02:20.721323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24474938], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24474938], ["sis_id", "123766972dbd4c61276399024fcbdba4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.725064"], ["end_date", "2018-03-07 00:02:20.725137"], ["created_at", "2018-02-14 00:02:20.726000"], ["updated_at", "2018-02-14 00:02:20.726000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 5354940], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 5354940], ["sis_id", "cee39591a3133d9010aaa3e18e1a54e2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.729483"], ["end_date", "2018-03-07 00:02:20.729549"], ["created_at", "2018-02-14 00:02:20.733953"], ["updated_at", "2018-02-14 00:02:20.733953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 85374129], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 85374129], ["sis_id", "334061471eca50e7b7a311250728f2d2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.737697"], ["end_date", "2018-03-07 00:02:20.737766"], ["created_at", "2018-02-14 00:02:20.738581"], ["updated_at", "2018-02-14 00:02:20.738581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89910112], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 89910112], ["sis_id", "7f4d453e75a9a9d4dc2feed4f8ba5c62"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:02:20.742775"], ["end_date", "2018-03-07 00:02:20.742861"], ["created_at", "2018-02-14 00:02:20.743804"], ["updated_at", "2018-02-14 00:02:20.743804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (1.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 59510297], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 59510297], ["created_at", "2018-02-14 00:02:20.773913"], ["updated_at", "2018-02-14 00:02:20.773913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 78127698], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 78127698], ["created_at", "2018-02-14 00:02:20.779712"], ["updated_at", "2018-02-14 00:02:20.779712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 78127698], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18784550], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18784550], ["created_at", "2018-02-14 00:02:20.786858"], ["updated_at", "2018-02-14 00:02:20.786858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 27399539], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 27399539], ["created_at", "2018-02-14 00:02:20.791253"], ["updated_at", "2018-02-14 00:02:20.791253"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 69574201], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 69574201], ["created_at", "2018-02-14 00:02:20.803532"], ["updated_at", "2018-02-14 00:02:20.803532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 90324188], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 90324188], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.808498"], ["updated_at", "2018-02-14 00:02:20.808498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43816252], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 43816252], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.815487"], ["updated_at", "2018-02-14 00:02:20.815487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43816252], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:02:20.826686"], ["updated_at", "2018-02-14 00:02:20.826686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:02:20.837216"], ["updated_at", "2018-02-14 00:02:20.837216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:02:20.849386"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 78135075], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 78135075], ["created_at", "2018-02-14 00:02:20.873289"], ["updated_at", "2018-02-14 00:02:20.873289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 33199812], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 33199812], ["created_at", "2018-02-14 00:02:20.879100"], ["updated_at", "2018-02-14 00:02:20.879100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 33199812], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 68069761], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 68069761], ["created_at", "2018-02-14 00:02:20.885550"], ["updated_at", "2018-02-14 00:02:20.885550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 1032496], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 1032496], ["created_at", "2018-02-14 00:02:20.890448"], ["updated_at", "2018-02-14 00:02:20.890448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (2.0ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:02:20.914004"], ["graded_at", "2018-02-13 00:02:20.914118"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:02:20.917342"], ["updated_at", "2018-02-14 00:02:20.917342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:02:20.922908"], ["graded_at", "2018-02-13 00:02:20.922990"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:02:20.923879"], ["updated_at", "2018-02-14 00:02:20.923879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:02:20.930023"], ["graded_at", "2018-02-13 00:02:20.930093"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:02:20.930985"], ["updated_at", "2018-02-14 00:02:20.930985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Submission Exists (0.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:02:20.935138"], ["graded_at", "2018-02-13 00:02:20.935223"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:02:20.943690"], ["updated_at", "2018-02-14 00:02:20.943690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:02:20.950358"], ["graded_at", "2018-02-13 00:02:20.950439"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:02:20.951421"], ["updated_at", "2018-02-14 00:02:20.951421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43025641], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 43025641], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "197cefc279dda1dafaaeaf67eafc21cf"], ["created_at", "2018-02-14 00:02:20.957854"], ["updated_at", "2018-02-14 00:02:20.957854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52009587], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 52009587], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "59b122c8ffe0db37b05e5e50ccffe074"], ["created_at", "2018-02-14 00:02:20.964244"], ["updated_at", "2018-02-14 00:02:20.964244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52009587], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1370354], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1370354], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "b4da3ec97a3831834ae14da634d608e4"], ["created_at", "2018-02-14 00:02:20.971562"], ["updated_at", "2018-02-14 00:02:20.971562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66223273], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66223273], ["name", "Cool Term"], ["start_at", "2018-02-12 00:02:20.975509"], ["end_at", "2018-02-17 00:02:20.975568"], ["workflow_state", "active"], ["sis_id", "b47d737580c876e0e1d28724dabea0f4"], ["created_at", "2018-02-14 00:02:20.976695"], ["updated_at", "2018-02-14 00:02:20.976695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72603586], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72603586], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "inactive"], ["sis_id", "ad2f67e210833b28be008bd6789be900"], ["created_at", "2018-02-14 00:02:20.978478"], ["updated_at", "2018-02-14 00:02:20.978478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41676847], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41676847], ["name", "Cool Term"], ["start_at", "2017-12-14 00:02:20.979355"], ["end_at", "2018-01-14 00:02:20.979404"], ["workflow_state", "active"], ["sis_id", "920082c49d3c63d434dd911c78287c62"], ["created_at", "2018-02-14 00:02:20.980312"], ["updated_at", "2018-02-14 00:02:20.980312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93476990], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93476990], ["name", "Cool Term"], ["start_at", "2018-08-14 00:02:20.981361"], ["end_at", "2019-02-14 00:02:20.981426"], ["workflow_state", "active"], ["sis_id", "aa65f473bc94c1238ff8159cea193f57"], ["created_at", "2018-02-14 00:02:20.985529"], ["updated_at", "2018-02-14 00:02:20.985529"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:02:20.991184' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:02:20.991430' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:02:21.000050"], ["updated_at", "2018-02-14 00:02:21.000050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:02:19.365881"], ["end_at", "2018-02-17 00:02:19.366061"], ["workflow_state", "active"], ["sis_id", "fb7ba248b4e3f725ecb8846608b28d48"], ["created_at", "2018-02-14 00:02:21.008163"], ["updated_at", "2018-02-14 00:02:21.008163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:02:21.011496"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 75687678], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 75687678], ["sis_id", "eeec4561d0529fcc7221ff7feb032d2c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:02:21.028900"], ["updated_at", "2018-02-14 00:02:21.028900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 31741666], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 31741666], ["sis_id", "eeca16ea4900f7dca70069d4a5fecf4b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:02:21.035643"], ["updated_at", "2018-02-14 00:02:21.035643"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 31741666], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29687394], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 29687394], ["sis_id", "a1955c5f9bff54ff801af5069335ec84"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:02:21.049281"], ["updated_at", "2018-02-14 00:02:21.049281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 84311007], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 84311007], ["sis_id", "7c00e3d1421518a22f33c2b2d7d618f5"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:02:21.055446"], ["updated_at", "2018-02-14 00:02:21.055446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:02:21.063241','2018-02-14 00:02:21.063241'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:02:21.063241','2018-02-14 00:02:21.063241') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:02:21.071065','2018-02-14 00:02:21.071065'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:02:21.071065','2018-02-14 00:02:21.071065') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:02:21.077641','2018-02-14 00:02:21.077641'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:02:21.077641','2018-02-14 00:02:21.077641') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:02:21.092361','2018-02-14 00:02:21.092361'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:02:21.092361','2018-02-14 00:02:21.092361') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:02:21.100616','2018-02-14 00:02:21.100616'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:02:21.100616','2018-02-14 00:02:21.100616') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:02:21.107416','2018-02-14 00:02:21.107416') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:02:21.115342','2018-02-14 00:02:21.115342'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:02:21.115342','2018-02-14 00:02:21.115342') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:02:21.116755','2018-02-14 00:02:21.116755'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:02:21.116755','2018-02-14 00:02:21.116755') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83] Performing GoodJob (Job ID: a27a6dc7-ad24-4258-8832-021e3ea9bf83) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83] SQL (1.0ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.707423"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:06:00.718395"], ["updated_at", "2018-02-14 00:06:00.718395"]] [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.721352"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.721745"], ["id", 55]] [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [a27a6dc7-ad24-4258-8832-021e3ea9bf83] Performed GoodJob (Job ID: a27a6dc7-ad24-4258-8832-021e3ea9bf83) from Async(default) in 15.99ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8] Performing BadJob (Job ID: 3db06849-fbe7-49b4-8d37-725843a5ccd8) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.737803"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:06:00.738277"], ["updated_at", "2018-02-14 00:06:00.738277"]] [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:06:00.739975"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:06:00.740243"], ["id", 56]] [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3db06849-fbe7-49b4-8d37-725843a5ccd8] Error performing BadJob (Job ID: 3db06849-fbe7-49b4-8d37-725843a5ccd8) from Async(default) in 4.28ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b] Performing CanvasSync::Jobs::ReportChecker (Job ID: ddf199f4-977f-4ee0-8a70-878c1b8b408b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.747533"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.747993"], ["updated_at", "2018-02-14 00:06:00.747993"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 57]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddf199f4-977f-4ee0-8a70-878c1b8b408b] Performed CanvasSync::Jobs::ReportChecker (Job ID: ddf199f4-977f-4ee0-8a70-878c1b8b408b) from Async(default) in 13.57ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f] Performing CanvasSync::Jobs::ReportChecker (Job ID: d899025c-7f8c-4318-adde-fd685754dd3f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.764160"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.764482"], ["updated_at", "2018-02-14 00:06:00.764482"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 69c91980-f8da-4e90-89bc-8939740b4e5e) to Async(default) at 2018-02-14 00:06:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 58]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [d899025c-7f8c-4318-adde-fd685754dd3f] Performed CanvasSync::Jobs::ReportChecker (Job ID: d899025c-7f8c-4318-adde-fd685754dd3f) from Async(default) in 5.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 04dd877c-aa66-4be7-9e93-3dbce48c8ee0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.778833"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.779241"], ["updated_at", "2018-02-14 00:06:00.779241"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:06:00.781669"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:06:00.782044"], ["id", 59]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [04dd877c-aa66-4be7-9e93-3dbce48c8ee0] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 04dd877c-aa66-4be7-9e93-3dbce48c8ee0) from Async(default) in 5.18ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 221556a3-3d47-4935-b401-e6db0effdff6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.787983"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.788328"], ["updated_at", "2018-02-14 00:06:00.788328"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:06:00.791530"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.815037"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.815394"], ["id", 60]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [221556a3-3d47-4935-b401-e6db0effdff6] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 221556a3-3d47-4935-b401-e6db0effdff6) from Async(default) in 28.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f] Performing CanvasSync::Jobs::ReportStarter (Job ID: c102723e-080f-48e9-99d7-84219eee739f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.820862"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:06:00.821261"], ["updated_at", "2018-02-14 00:06:00.821261"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f0b56290-2ba6-4a6f-80cf-c9d80c35f5ae) to Async(default) at 2018-02-14 00:06:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.824062"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.824369"], ["id", 61]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f]  (1.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c102723e-080f-48e9-99d7-84219eee739f] Performed CanvasSync::Jobs::ReportStarter (Job ID: c102723e-080f-48e9-99d7-84219eee739f) from Async(default) in 10.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff] Performing CanvasSync::Jobs::ReportStarter (Job ID: 55932083-ebf9-43f5-9420-3e1556c751ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.837334"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:06:00.837790"], ["updated_at", "2018-02-14 00:06:00.837790"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.840104"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.840386"], ["id", 62]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [55932083-ebf9-43f5-9420-3e1556c751ff] Performed CanvasSync::Jobs::ReportStarter (Job ID: 55932083-ebf9-43f5-9420-3e1556c751ff) from Async(default) in 4.56ms  (0.1ms) ROLLBACK  (1.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0] Performing CanvasSync::Jobs::ReportStarter (Job ID: b9cb625f-29a7-4b2c-9d84-4995731e7be0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.846231"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:06:00.846595"], ["updated_at", "2018-02-14 00:06:00.846595"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.849270"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.849612"], ["id", 63]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b9cb625f-29a7-4b2c-9d84-4995731e7be0] Performed CanvasSync::Jobs::ReportStarter (Job ID: b9cb625f-29a7-4b2c-9d84-4995731e7be0) from Async(default) in 4.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 2d82445c-01c2-47b7-85ce-373f4de70691) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.859051"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.859458"], ["updated_at", "2018-02-14 00:06:00.859458"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:00.881807"], ["updated_at", "2018-02-14 00:06:00.881807"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:00.885015"], ["updated_at", "2018-02-14 00:06:00.885015"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:00.887521"], ["updated_at", "2018-02-14 00:06:00.887521"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.3ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (22, 23, 24)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.890555"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.890985"], ["id", 64]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d82445c-01c2-47b7-85ce-373f4de70691] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 2d82445c-01c2-47b7-85ce-373f4de70691) from Async(default) in 33.62ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 0b80987b-07bc-487f-9676-209e76fc81b3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.897437"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.897839"], ["updated_at", "2018-02-14 00:06:00.897839"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f4f23a30-793f-492a-816b-2c054936fdc3) to Async(default) at 2018-02-14 00:06:30 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.900396"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.900677"], ["id", 65]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [0b80987b-07bc-487f-9676-209e76fc81b3] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 0b80987b-07bc-487f-9676-209e76fc81b3) from Async(default) in 4.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: da5af1f1-3370-4dfa-9978-cd4317fb7395) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.905584"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.905922"], ["updated_at", "2018-02-14 00:06:00.905922"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ec541cd2-5bfa-4a26-be9c-80468c41c994) to Async(default) at 2018-02-14 00:06:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.908586"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.908872"], ["id", 66]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [da5af1f1-3370-4dfa-9978-cd4317fb7395] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: da5af1f1-3370-4dfa-9978-cd4317fb7395) from Async(default) in 4.51ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (8.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 295037], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 295037], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "ead0469034271febd761de92a4b9428c"], ["created_at", "2018-02-14 00:06:00.935655"], ["updated_at", "2018-02-14 00:06:00.935655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 10234741], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 10234741], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "5b7a8323431912336747ab01f589144b"], ["created_at", "2018-02-14 00:06:00.938964"], ["updated_at", "2018-02-14 00:06:00.938964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18951772], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 18951772], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "inactive"], ["sis_id", "2de45291b09f7a968c638a679ee7a796"], ["created_at", "2018-02-14 00:06:00.941373"], ["updated_at", "2018-02-14 00:06:00.941373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dfe7ac27-eeea-4eb0-877c-79153b7a1a67) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.943090"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:06:00.943464"], ["updated_at", "2018-02-14 00:06:00.943464"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:06:00.945538' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:06:00.945710' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.948144"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.948447"], ["id", 67]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfe7ac27-eeea-4eb0-877c-79153b7a1a67] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dfe7ac27-eeea-4eb0-877c-79153b7a1a67) from Async(default) in 6.72ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f47b3076-0370-4d1d-877a-5f4fa0f6ca23) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.955777"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:06:00.956182"], ["updated_at", "2018-02-14 00:06:00.956182"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:00.957984"], ["status", "success"], ["updated_at", "2018-02-14 00:06:00.958204"], ["id", 68]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [f47b3076-0370-4d1d-877a-5f4fa0f6ca23] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: f47b3076-0370-4d1d-877a-5f4fa0f6ca23) from Async(default) in 3.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 2a329847-ff96-460a-91b9-3040be8a2e20) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:00.967384"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:00.967745"], ["updated_at", "2018-02-14 00:06:00.967745"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:06:00.983368"], ["updated_at", "2018-02-14 00:06:00.983368"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:06:00.999462"], ["updated_at", "2018-02-14 00:06:00.999462"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (19, 20)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] SQL (1.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:01.004397"], ["status", "success"], ["updated_at", "2018-02-14 00:06:01.004754"], ["id", 69]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [2a329847-ff96-460a-91b9-3040be8a2e20] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 2a329847-ff96-460a-91b9-3040be8a2e20) from Async(default) in 40.02ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 1ae15d0d-78d0-494c-ad9b-6fc473265cd9) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:01.012301"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:01.012809"], ["updated_at", "2018-02-14 00:06:01.012809"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dd1dbe23-2e0a-4e83-974a-d07c2afcbe37) to Async(default) at 2018-02-14 00:06:31 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:01.018062"], ["status", "success"], ["updated_at", "2018-02-14 00:06:01.018410"], ["id", 70]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1ae15d0d-78d0-494c-ad9b-6fc473265cd9] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 1ae15d0d-78d0-494c-ad9b-6fc473265cd9) from Async(default) in 8.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: e490b9b2-0625-4f58-9687-0e8525c7a5ed) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:01.024862"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:01.025216"], ["updated_at", "2018-02-14 00:06:01.025216"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:06:01.031366"], ["updated_at", "2018-02-14 00:06:01.031366"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.034265"], ["updated_at", "2018-02-14 00:06:01.034265"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.036756"], ["updated_at", "2018-02-14 00:06:01.036756"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:06:01.039842"], ["updated_at", "2018-02-14 00:06:01.039842"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (1.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:06:01.042751"], ["updated_at", "2018-02-14 00:06:01.042751"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.053282"], ["updated_at", "2018-02-14 00:06:01.053282"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:01.054403"], ["status", "success"], ["updated_at", "2018-02-14 00:06:01.054791"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e490b9b2-0625-4f58-9687-0e8525c7a5ed] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: e490b9b2-0625-4f58-9687-0e8525c7a5ed) from Async(default) in 31.59ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:06:01.062587"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:06:01.063005"], ["updated_at", "2018-02-14 00:06:01.063005"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 023f75b7-e898-480d-b45b-0cdf82d2d407) to Async(default) at 2018-02-14 00:06:31 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:06:01.065583"], ["status", "success"], ["updated_at", "2018-02-14 00:06:01.065917"], ["id", 72]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 4676a6d1-0ba7-40ff-a7ba-ee2b7c45c64f) from Async(default) in 4.57ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 66518024], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 66518024], ["role_name", "Cool Role"], ["canvas_role_id", 803164], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.071668"], ["updated_at", "2018-02-14 00:06:01.071668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 89414881], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 89414881], ["role_name", "Cool Role"], ["canvas_role_id", 26166535], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.081774"], ["updated_at", "2018-02-14 00:06:01.081774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 89414881], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.090639"], ["updated_at", "2018-02-14 00:06:01.090639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 97262404], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.106353"], ["updated_at", "2018-02-14 00:06:01.106353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 28], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:06:01.111886"], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (2.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:06:01.163694"], ["unlock_at", "2018-02-13 00:06:01.163833"], ["lock_at", "2018-03-07 00:06:01.163912"], ["created_at", "2018-02-14 00:06:01.168600"], ["updated_at", "2018-02-14 00:06:01.168600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:06:01.178892"], ["unlock_at", "2018-02-13 00:06:01.178971"], ["lock_at", "2018-03-07 00:06:01.179015"], ["created_at", "2018-02-14 00:06:01.180348"], ["updated_at", "2018-02-14 00:06:01.180348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:06:01.189578"], ["unlock_at", "2018-02-13 00:06:01.190153"], ["lock_at", "2018-03-07 00:06:01.190195"], ["created_at", "2018-02-14 00:06:01.191069"], ["updated_at", "2018-02-14 00:06:01.191069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 67575849], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 67575849], ["sis_id", "d6ab0757722b46688e0e4ba1ad3d8465"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.224910"], ["end_date", "2018-03-07 00:06:01.225035"], ["created_at", "2018-02-14 00:06:01.229613"], ["updated_at", "2018-02-14 00:06:01.229613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 83600028], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 83600028], ["sis_id", "71154afca8aabbcbee666fa3c1b849cd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.231597"], ["end_date", "2018-03-07 00:06:01.231681"], ["created_at", "2018-02-14 00:06:01.232640"], ["updated_at", "2018-02-14 00:06:01.232640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:06:01.233945"], ["unlock_at", "2018-02-13 00:06:01.234007"], ["lock_at", "2018-03-07 00:06:01.234049"], ["created_at", "2018-02-14 00:06:01.234965"], ["updated_at", "2018-02-14 00:06:01.234965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 22], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 83600028], ["context_type", "Course"], ["updated_at", "2018-02-14 00:06:01.237128"], ["id", 22]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 83600028], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97970674], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 97970674], ["sis_id", "18f0cd762eca1923b3c34c0c8be7014a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.251516"], ["end_date", "2018-03-07 00:06:01.251672"], ["created_at", "2018-02-14 00:06:01.253007"], ["updated_at", "2018-02-14 00:06:01.253007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76930688], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76930688], ["sis_id", "a51beb57806b8e7ae9725f3b54e65ad3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.260010"], ["end_date", "2018-03-07 00:06:01.260115"], ["created_at", "2018-02-14 00:06:01.261272"], ["updated_at", "2018-02-14 00:06:01.261272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76930688], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25533890], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 25533890], ["sis_id", "923e2257419af3d81bde867cc5927da2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.268723"], ["end_date", "2018-03-07 00:06:01.268823"], ["created_at", "2018-02-14 00:06:01.269944"], ["updated_at", "2018-02-14 00:06:01.269944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96947110], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96947110], ["sis_id", "7632c4a3a20ddc0a39499eba577381cd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.274539"], ["end_date", "2018-03-07 00:06:01.274675"], ["created_at", "2018-02-14 00:06:01.275739"], ["updated_at", "2018-02-14 00:06:01.275739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21361259], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21361259], ["sis_id", "3effbd261d7b0249877d44822da62057"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.281202"], ["end_date", "2018-03-07 00:06:01.281302"], ["created_at", "2018-02-14 00:06:01.287684"], ["updated_at", "2018-02-14 00:06:01.287684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 10376311], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 10376311], ["sis_id", "e90c77fc45f7cbf6346942e6f5061a1d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.295087"], ["end_date", "2018-03-07 00:06:01.295171"], ["created_at", "2018-02-14 00:06:01.296172"], ["updated_at", "2018-02-14 00:06:01.296172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 41688508], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 41688508], ["sis_id", "807c438ccebd8c76f1c6b89f1c3258d4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:06:01.300316"], ["end_date", "2018-03-07 00:06:01.300422"], ["created_at", "2018-02-14 00:06:01.302615"], ["updated_at", "2018-02-14 00:06:01.302615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (3.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 14251840], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 14251840], ["created_at", "2018-02-14 00:06:01.326123"], ["updated_at", "2018-02-14 00:06:01.326123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 36617077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 36617077], ["created_at", "2018-02-14 00:06:01.340835"], ["updated_at", "2018-02-14 00:06:01.340835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 36617077], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 91331799], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 91331799], ["created_at", "2018-02-14 00:06:01.349434"], ["updated_at", "2018-02-14 00:06:01.349434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 95426939], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 95426939], ["created_at", "2018-02-14 00:06:01.354488"], ["updated_at", "2018-02-14 00:06:01.354488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62928930], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62928930], ["created_at", "2018-02-14 00:06:01.359467"], ["updated_at", "2018-02-14 00:06:01.359467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 50420386], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 50420386], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.363995"], ["updated_at", "2018-02-14 00:06:01.363995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 47939196], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 47939196], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.369632"], ["updated_at", "2018-02-14 00:06:01.369632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 47939196], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:06:01.385978"], ["updated_at", "2018-02-14 00:06:01.385978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:06:01.398580"], ["updated_at", "2018-02-14 00:06:01.398580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 24], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:06:01.403941"], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (3.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2711816], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 2711816], ["created_at", "2018-02-14 00:06:01.435320"], ["updated_at", "2018-02-14 00:06:01.435320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 97296849], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 97296849], ["created_at", "2018-02-14 00:06:01.441500"], ["updated_at", "2018-02-14 00:06:01.441500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 97296849], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 7145743], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 7145743], ["created_at", "2018-02-14 00:06:01.448625"], ["updated_at", "2018-02-14 00:06:01.448625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76445862], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76445862], ["created_at", "2018-02-14 00:06:01.453950"], ["updated_at", "2018-02-14 00:06:01.453950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (3.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:06:01.465603"], ["graded_at", "2018-02-13 00:06:01.465719"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:06:01.470453"], ["updated_at", "2018-02-14 00:06:01.470453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (1.0ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:06:01.484276"], ["graded_at", "2018-02-13 00:06:01.484380"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:06:01.485625"], ["updated_at", "2018-02-14 00:06:01.485625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:06:01.492979"], ["graded_at", "2018-02-13 00:06:01.493050"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:06:01.493887"], ["updated_at", "2018-02-14 00:06:01.493887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:06:01.497458"], ["graded_at", "2018-02-13 00:06:01.497520"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:06:01.498345"], ["updated_at", "2018-02-14 00:06:01.498345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:06:01.502747"], ["graded_at", "2018-02-13 00:06:01.502818"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:06:01.504129"], ["updated_at", "2018-02-14 00:06:01.504129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 47488071], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 47488071], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "e8b207d3a18b24448f69f26ca7ac441d"], ["created_at", "2018-02-14 00:06:01.509216"], ["updated_at", "2018-02-14 00:06:01.509216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 8623467], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 8623467], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "1f146ec80d924de9945648de5d891f2f"], ["created_at", "2018-02-14 00:06:01.515058"], ["updated_at", "2018-02-14 00:06:01.515058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 8623467], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 8028603], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 8028603], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "fbb6e4b5da0c3bdb57006a7941775618"], ["created_at", "2018-02-14 00:06:01.529865"], ["updated_at", "2018-02-14 00:06:01.529865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52510973], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 52510973], ["name", "Cool Term"], ["start_at", "2018-02-12 00:06:01.533694"], ["end_at", "2018-02-17 00:06:01.533770"], ["workflow_state", "active"], ["sis_id", "9e346589fff44be21bd38c3f887f3942"], ["created_at", "2018-02-14 00:06:01.536267"], ["updated_at", "2018-02-14 00:06:01.536267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 46310008], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 46310008], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "inactive"], ["sis_id", "d2fc36b8b9241fdfc22254213d423a3d"], ["created_at", "2018-02-14 00:06:01.538199"], ["updated_at", "2018-02-14 00:06:01.538199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 56737636], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 56737636], ["name", "Cool Term"], ["start_at", "2017-12-14 00:06:01.539178"], ["end_at", "2018-01-14 00:06:01.539237"], ["workflow_state", "active"], ["sis_id", "bb1febeac041bfc941cb9497deefbcb6"], ["created_at", "2018-02-14 00:06:01.540307"], ["updated_at", "2018-02-14 00:06:01.540307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 83849799], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 83849799], ["name", "Cool Term"], ["start_at", "2018-08-14 00:06:01.541281"], ["end_at", "2019-02-14 00:06:01.541336"], ["workflow_state", "active"], ["sis_id", "a47b6229e3499a8e1ba70d5d08f9f03d"], ["created_at", "2018-02-14 00:06:01.542279"], ["updated_at", "2018-02-14 00:06:01.542279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:06:01.543592' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:06:01.543718' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:06:01.549493"], ["updated_at", "2018-02-14 00:06:01.549493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:05:59.677529"], ["end_at", "2018-02-17 00:05:59.677705"], ["workflow_state", "active"], ["sis_id", "a28e99cf69341db975eb718a122eacf3"], ["created_at", "2018-02-14 00:06:01.556660"], ["updated_at", "2018-02-14 00:06:01.556660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:06:01.559895"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 User Exists (2.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 94219834], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 94219834], ["sis_id", "991d3b3257ff08cd75fcd02be8bd483b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:06:01.589480"], ["updated_at", "2018-02-14 00:06:01.589480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 34527588], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 34527588], ["sis_id", "36de4a61dedc174b30f7ae5150c1625c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:06:01.596018"], ["updated_at", "2018-02-14 00:06:01.596018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 34527588], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 97763120], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 97763120], ["sis_id", "4d161517b105e97403e92d6b72653543"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:06:01.602192"], ["updated_at", "2018-02-14 00:06:01.602192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (4.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 17550394], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 17550394], ["sis_id", "8296305c52eafe50ad7ca73db78c4ffb"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:06:01.614860"], ["updated_at", "2018-02-14 00:06:01.614860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:06:01.627995','2018-02-14 00:06:01.627995'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:06:01.627995','2018-02-14 00:06:01.627995') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:06:01.635294','2018-02-14 00:06:01.635294'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:06:01.635294','2018-02-14 00:06:01.635294') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:06:01.642576','2018-02-14 00:06:01.642576'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:06:01.642576','2018-02-14 00:06:01.642576') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:06:01.649986','2018-02-14 00:06:01.649986'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:06:01.649986','2018-02-14 00:06:01.649986') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:06:01.658934','2018-02-14 00:06:01.658934'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:06:01.658934','2018-02-14 00:06:01.658934') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:06:01.667238','2018-02-14 00:06:01.667238') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:06:01.677944','2018-02-14 00:06:01.677944'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:06:01.677944','2018-02-14 00:06:01.677944') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:06:01.679589','2018-02-14 00:06:01.679589'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:06:01.679589','2018-02-14 00:06:01.679589') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941] Performing GoodJob (Job ID: 3c9a5d2a-6e27-4815-82f1-6d4ee8b20941) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941] SQL (2.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.382805"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:11:52.400140"], ["updated_at", "2018-02-14 00:11:52.400140"]] [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.404411"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.404711"], ["id", 73]] [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3c9a5d2a-6e27-4815-82f1-6d4ee8b20941] Performed GoodJob (Job ID: 3c9a5d2a-6e27-4815-82f1-6d4ee8b20941) from Async(default) in 23.39ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535] Performing BadJob (Job ID: 47b36ba2-fb92-4f5e-bef7-9f582197d535) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.412426"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:11:52.412734"], ["updated_at", "2018-02-14 00:11:52.412734"]] [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:11:52.414026"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:11:52.414255"], ["id", 74]] [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [47b36ba2-fb92-4f5e-bef7-9f582197d535] Error performing BadJob (Job ID: 47b36ba2-fb92-4f5e-bef7-9f582197d535) from Async(default) in 3.46ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 497cb558-e98f-4d79-9291-a2a0ded8d8a0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.420397"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.420767"], ["updated_at", "2018-02-14 00:11:52.420767"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 75]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [497cb558-e98f-4d79-9291-a2a0ded8d8a0] Performed CanvasSync::Jobs::ReportChecker (Job ID: 497cb558-e98f-4d79-9291-a2a0ded8d8a0) from Async(default) in 15.68ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6] Performing CanvasSync::Jobs::ReportChecker (Job ID: 39d42ef6-200a-4ca2-8f8c-98da04e0b9f6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.440292"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.440697"], ["updated_at", "2018-02-14 00:11:52.440697"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a1ce4879-f705-4c8c-be56-38f7305a4a2c) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 76]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [39d42ef6-200a-4ca2-8f8c-98da04e0b9f6] Performed CanvasSync::Jobs::ReportChecker (Job ID: 39d42ef6-200a-4ca2-8f8c-98da04e0b9f6) from Async(default) in 14.94ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f] Performing CanvasSync::Jobs::ReportChecker (Job ID: a4984657-b570-4da5-84b4-49c8859c283f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.459713"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.460233"], ["updated_at", "2018-02-14 00:11:52.460233"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:11:52.462637"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:11:52.462943"], ["id", 77]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a4984657-b570-4da5-84b4-49c8859c283f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: a4984657-b570-4da5-84b4-49c8859c283f) from Async(default) in 6.26ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: ce8f1b94-0e1b-46c9-aad3-dd24056040df) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.469246"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.469710"], ["updated_at", "2018-02-14 00:11:52.469710"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:11:52.471656"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (2.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.501258"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.507452"], ["id", 78]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [ce8f1b94-0e1b-46c9-aad3-dd24056040df] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: ce8f1b94-0e1b-46c9-aad3-dd24056040df) from Async(default) in 40.15ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c] Performing CanvasSync::Jobs::ReportStarter (Job ID: 491385d1-578f-49f1-9c90-be1ba6b0d62c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.513973"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:11:52.514337"], ["updated_at", "2018-02-14 00:11:52.514337"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9ffac66f-fff5-4351-bf8e-9557bd914804) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.517064"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.517374"], ["id", 79]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [491385d1-578f-49f1-9c90-be1ba6b0d62c] Performed CanvasSync::Jobs::ReportStarter (Job ID: 491385d1-578f-49f1-9c90-be1ba6b0d62c) from Async(default) in 4.89ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d] Performing CanvasSync::Jobs::ReportStarter (Job ID: 64978c80-42d5-4cf8-98a4-926988dd950d) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d] SQL (0.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.523171"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:11:52.523574"], ["updated_at", "2018-02-14 00:11:52.523574"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.526577"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.526923"], ["id", 80]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [64978c80-42d5-4cf8-98a4-926988dd950d] Performed CanvasSync::Jobs::ReportStarter (Job ID: 64978c80-42d5-4cf8-98a4-926988dd950d) from Async(default) in 5.65ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607] Performing CanvasSync::Jobs::ReportStarter (Job ID: f2f05971-819c-43be-bff7-a3f6f980c607) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.532438"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:11:52.533028"], ["updated_at", "2018-02-14 00:11:52.533028"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.535675"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.535986"], ["id", 81]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f2f05971-819c-43be-bff7-a3f6f980c607] Performed CanvasSync::Jobs::ReportStarter (Job ID: f2f05971-819c-43be-bff7-a3f6f980c607) from Async(default) in 5.31ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.2ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 7ea9b2c0-7ea0-4972-8ef8-547b631ec179) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.551709"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.552163"], ["updated_at", "2018-02-14 00:11:52.552163"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.569459"], ["updated_at", "2018-02-14 00:11:52.569459"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.572303"], ["updated_at", "2018-02-14 00:11:52.572303"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.1ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.574481"], ["updated_at", "2018-02-14 00:11:52.574481"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (29, 30, 31)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.575960"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.576249"], ["id", 82]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [7ea9b2c0-7ea0-4972-8ef8-547b631ec179] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 7ea9b2c0-7ea0-4972-8ef8-547b631ec179) from Async(default) in 25.82ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 4df75c5d-2030-42e5-aa3a-f41a9a54e2d5) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.581754"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.582098"], ["updated_at", "2018-02-14 00:11:52.582098"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e8879856-c508-4cac-854f-b5504718816a) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.584487"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.584765"], ["id", 83]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [4df75c5d-2030-42e5-aa3a-f41a9a54e2d5] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 4df75c5d-2030-42e5-aa3a-f41a9a54e2d5) from Async(default) in 4.37ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 535e6b35-ded9-4f55-a54f-3e76770f9b4a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.589812"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.590275"], ["updated_at", "2018-02-14 00:11:52.590275"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 616899cf-e094-447f-bc3d-ed67600798c0) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.593224"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.593622"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [535e6b35-ded9-4f55-a54f-3e76770f9b4a] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 535e6b35-ded9-4f55-a54f-3e76770f9b4a) from Async(default) in 5.25ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (9.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94921375], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94921375], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "d7b8f698648bee67d1d6adc78146a3f5"], ["created_at", "2018-02-14 00:11:52.621134"], ["updated_at", "2018-02-14 00:11:52.621134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16812404], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16812404], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "90531e29d1a89212118e48882706a884"], ["created_at", "2018-02-14 00:11:52.625031"], ["updated_at", "2018-02-14 00:11:52.625031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 89471708], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 89471708], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "inactive"], ["sis_id", "eff815eb5f343bc4a45a8801411fe9e0"], ["created_at", "2018-02-14 00:11:52.626981"], ["updated_at", "2018-02-14 00:11:52.626981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a88dd70c-81a2-4f05-9448-5aa15e04b4d3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.628489"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:11:52.628994"], ["updated_at", "2018-02-14 00:11:52.628994"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:11:52.632336' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:11:52.632514' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.633777"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.634072"], ["id", 85]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a88dd70c-81a2-4f05-9448-5aa15e04b4d3] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a88dd70c-81a2-4f05-9448-5aa15e04b4d3) from Async(default) in 6.99ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 289ec8fa-20c8-40a9-a519-91da8e0564ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.639194"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:11:52.639509"], ["updated_at", "2018-02-14 00:11:52.639509"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.641061"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.641283"], ["id", 86]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [289ec8fa-20c8-40a9-a519-91da8e0564ff] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 289ec8fa-20c8-40a9-a519-91da8e0564ff) from Async(default) in 3.27ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (15.1ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: be56436a-4015-4359-9c84-e6609591a9b5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.663946"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.664697"], ["updated_at", "2018-02-14 00:11:52.664697"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:11:52.691611"], ["updated_at", "2018-02-14 00:11:52.691611"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:11:52.699779"], ["updated_at", "2018-02-14 00:11:52.699779"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (25, 26)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.708240"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.708611"], ["id", 87]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [be56436a-4015-4359-9c84-e6609591a9b5] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: be56436a-4015-4359-9c84-e6609591a9b5) from Async(default) in 46.04ms  (0.1ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8e37c48f-da5d-4194-a8a0-8ccb12b317af) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.714004"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.714368"], ["updated_at", "2018-02-14 00:11:52.714368"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1ca92e00-04ed-4a99-8047-a1656d8aca8d) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.717268"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.717878"], ["id", 88]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8e37c48f-da5d-4194-a8a0-8ccb12b317af] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8e37c48f-da5d-4194-a8a0-8ccb12b317af) from Async(default) in 5.48ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 4d953c42-59fa-4370-af35-86af5953763c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.725172"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.725685"], ["updated_at", "2018-02-14 00:11:52.725685"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:11:52.735106"], ["updated_at", "2018-02-14 00:11:52.735106"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.737728"], ["updated_at", "2018-02-14 00:11:52.737728"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.739893"], ["updated_at", "2018-02-14 00:11:52.739893"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:11:52.742531"], ["updated_at", "2018-02-14 00:11:52.742531"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:11:52.746224"], ["updated_at", "2018-02-14 00:11:52.746224"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.755373"], ["updated_at", "2018-02-14 00:11:52.755373"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.756464"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.756831"], ["id", 89]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [4d953c42-59fa-4370-af35-86af5953763c] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 4d953c42-59fa-4370-af35-86af5953763c) from Async(default) in 33.15ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 617af4b2-4722-4039-9982-63d85115da94) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:11:52.762634"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:11:52.763000"], ["updated_at", "2018-02-14 00:11:52.763000"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ad20bb0c-7d06-4856-8480-ffbd5e1997a2) to Async(default) at 2018-02-14 00:12:22 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:11:52.766805"], ["status", "success"], ["updated_at", "2018-02-14 00:11:52.767295"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [617af4b2-4722-4039-9982-63d85115da94] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 617af4b2-4722-4039-9982-63d85115da94) from Async(default) in 6.18ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 74537775], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 74537775], ["role_name", "Cool Role"], ["canvas_role_id", 30000998], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.772795"], ["updated_at", "2018-02-14 00:11:52.772795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 82078859], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 82078859], ["role_name", "Cool Role"], ["canvas_role_id", 30849602], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.784310"], ["updated_at", "2018-02-14 00:11:52.784310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 82078859], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.793908"], ["updated_at", "2018-02-14 00:11:52.793908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 18774369], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:52.808744"], ["updated_at", "2018-02-14 00:11:52.808744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 35], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:11:52.812265"], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (5.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:11:52.834614"], ["unlock_at", "2018-02-13 00:11:52.834709"], ["lock_at", "2018-03-07 00:11:52.834752"], ["created_at", "2018-02-14 00:11:52.841363"], ["updated_at", "2018-02-14 00:11:52.841363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:11:52.848527"], ["unlock_at", "2018-02-13 00:11:52.848629"], ["lock_at", "2018-03-07 00:11:52.848704"], ["created_at", "2018-02-14 00:11:52.849730"], ["updated_at", "2018-02-14 00:11:52.849730"]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:11:52.865460"], ["unlock_at", "2018-02-13 00:11:52.865549"], ["lock_at", "2018-03-07 00:11:52.865627"], ["created_at", "2018-02-14 00:11:52.866538"], ["updated_at", "2018-02-14 00:11:52.866538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.7ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 10507936], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 10507936], ["sis_id", "189b5d471ff16fe08d0d1f91f1c5c7c3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.882326"], ["end_date", "2018-03-07 00:11:52.882403"], ["created_at", "2018-02-14 00:11:52.886259"], ["updated_at", "2018-02-14 00:11:52.886259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74519750], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74519750], ["sis_id", "93eae5baa2cda5d3f1db539b1ba52b20"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.888502"], ["end_date", "2018-03-07 00:11:52.888589"], ["created_at", "2018-02-14 00:11:52.889403"], ["updated_at", "2018-02-14 00:11:52.889403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:11:52.890530"], ["unlock_at", "2018-02-13 00:11:52.890584"], ["lock_at", "2018-03-07 00:11:52.890625"], ["created_at", "2018-02-14 00:11:52.891399"], ["updated_at", "2018-02-14 00:11:52.891399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Assignment Exists (0.1ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 28], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 74519750], ["context_type", "Course"], ["updated_at", "2018-02-14 00:11:52.893171"], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74519750], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 30347471], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 30347471], ["sis_id", "aa17fab37d6b8f72349924a5c3891f32"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.919725"], ["end_date", "2018-03-07 00:11:52.919831"], ["created_at", "2018-02-14 00:11:52.920836"], ["updated_at", "2018-02-14 00:11:52.920836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13275516], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 13275516], ["sis_id", "37e7667f64003eb8435371151dce73df"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.927618"], ["end_date", "2018-03-07 00:11:52.927691"], ["created_at", "2018-02-14 00:11:52.928644"], ["updated_at", "2018-02-14 00:11:52.928644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.7ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 13275516], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68392460], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 68392460], ["sis_id", "3232307514be92a83be874295169f139"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.937122"], ["end_date", "2018-03-07 00:11:52.937210"], ["created_at", "2018-02-14 00:11:52.938385"], ["updated_at", "2018-02-14 00:11:52.938385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 20406075], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 20406075], ["sis_id", "37ba43f4f41a1120c5e9f92e71a8c6a8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.942437"], ["end_date", "2018-03-07 00:11:52.942500"], ["created_at", "2018-02-14 00:11:52.943301"], ["updated_at", "2018-02-14 00:11:52.943301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18342601], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 18342601], ["sis_id", "f3e394bba325211db4bb01181c819b74"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.946787"], ["end_date", "2018-03-07 00:11:52.946855"], ["created_at", "2018-02-14 00:11:52.947677"], ["updated_at", "2018-02-14 00:11:52.947677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 12504742], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 12504742], ["sis_id", "1a4b2d079b29cb9c113ef3a5dc5df695"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.958294"], ["end_date", "2018-03-07 00:11:52.958376"], ["created_at", "2018-02-14 00:11:52.959434"], ["updated_at", "2018-02-14 00:11:52.959434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 2302023], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 2302023], ["sis_id", "a9432b58812034ee973fea7831343c73"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:11:52.963654"], ["end_date", "2018-03-07 00:11:52.963727"], ["created_at", "2018-02-14 00:11:52.964612"], ["updated_at", "2018-02-14 00:11:52.964612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 66521394], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 66521394], ["created_at", "2018-02-14 00:11:52.992857"], ["updated_at", "2018-02-14 00:11:52.992857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 93747330], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 93747330], ["created_at", "2018-02-14 00:11:52.998729"], ["updated_at", "2018-02-14 00:11:52.998729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 93747330], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 31634132], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 31634132], ["created_at", "2018-02-14 00:11:53.013422"], ["updated_at", "2018-02-14 00:11:53.013422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 42473725], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 42473725], ["created_at", "2018-02-14 00:11:53.018877"], ["updated_at", "2018-02-14 00:11:53.018877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 11778233], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 11778233], ["created_at", "2018-02-14 00:11:53.024629"], ["updated_at", "2018-02-14 00:11:53.024629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 16941637], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 16941637], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:53.029582"], ["updated_at", "2018-02-14 00:11:53.029582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 60071234], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 60071234], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:53.035811"], ["updated_at", "2018-02-14 00:11:53.035811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 60071234], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:11:53.045991"], ["updated_at", "2018-02-14 00:11:53.045991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:11:53.064775"], ["updated_at", "2018-02-14 00:11:53.064775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 30], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:11:53.070503"], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (3.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 12722895], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 12722895], ["created_at", "2018-02-14 00:11:53.098198"], ["updated_at", "2018-02-14 00:11:53.098198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 57783658], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 57783658], ["created_at", "2018-02-14 00:11:53.105211"], ["updated_at", "2018-02-14 00:11:53.105211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 57783658], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 99199531], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 99199531], ["created_at", "2018-02-14 00:11:53.113630"], ["updated_at", "2018-02-14 00:11:53.113630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 57980158], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 57980158], ["created_at", "2018-02-14 00:11:53.127595"], ["updated_at", "2018-02-14 00:11:53.127595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (6.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:11:53.141162"], ["graded_at", "2018-02-13 00:11:53.141275"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:11:53.148618"], ["updated_at", "2018-02-14 00:11:53.148618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:11:53.154053"], ["graded_at", "2018-02-13 00:11:53.154129"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:11:53.155003"], ["updated_at", "2018-02-14 00:11:53.155003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:11:53.169486"], ["graded_at", "2018-02-13 00:11:53.169588"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:11:53.170709"], ["updated_at", "2018-02-14 00:11:53.170709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:11:53.174927"], ["graded_at", "2018-02-13 00:11:53.175000"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:11:53.175955"], ["updated_at", "2018-02-14 00:11:53.175955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:11:53.180808"], ["graded_at", "2018-02-13 00:11:53.180876"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:11:53.181716"], ["updated_at", "2018-02-14 00:11:53.181716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82288158], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82288158], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "7e8715aa1ee3515d69428fa1122f3286"], ["created_at", "2018-02-14 00:11:53.187019"], ["updated_at", "2018-02-14 00:11:53.187019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79653659], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 79653659], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "abbe25aa5d11ba4b5b04dfd2938e5d85"], ["created_at", "2018-02-14 00:11:53.192925"], ["updated_at", "2018-02-14 00:11:53.192925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 79653659], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81564585], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81564585], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "f6363e2e7a84665878ab66693f1e2405"], ["created_at", "2018-02-14 00:11:53.200138"], ["updated_at", "2018-02-14 00:11:53.200138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37511615], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37511615], ["name", "Cool Term"], ["start_at", "2018-02-12 00:11:53.203754"], ["end_at", "2018-02-17 00:11:53.203807"], ["workflow_state", "active"], ["sis_id", "8434646087d5ae468386c4c0534a6109"], ["created_at", "2018-02-14 00:11:53.211314"], ["updated_at", "2018-02-14 00:11:53.211314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 52422458], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 52422458], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "inactive"], ["sis_id", "2c42c230ae21eead57b6cce0b82be616"], ["created_at", "2018-02-14 00:11:53.214179"], ["updated_at", "2018-02-14 00:11:53.214179"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27276063], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27276063], ["name", "Cool Term"], ["start_at", "2017-12-14 00:11:53.215430"], ["end_at", "2018-01-14 00:11:53.215514"], ["workflow_state", "active"], ["sis_id", "adb7ddb0a0d21dec4b808b39a73daa66"], ["created_at", "2018-02-14 00:11:53.216732"], ["updated_at", "2018-02-14 00:11:53.216732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1314783], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1314783], ["name", "Cool Term"], ["start_at", "2018-08-14 00:11:53.217807"], ["end_at", "2019-02-14 00:11:53.217868"], ["workflow_state", "active"], ["sis_id", "0779eeecb2d2105619408ed214d4a973"], ["created_at", "2018-02-14 00:11:53.218941"], ["updated_at", "2018-02-14 00:11:53.218941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:11:53.220032' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:11:53.220168' OR end_at IS NULL) [["workflow_state", "active"]]  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:11:53.230735"], ["updated_at", "2018-02-14 00:11:53.230735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:11:51.068311"], ["end_at", "2018-02-17 00:11:51.068490"], ["workflow_state", "active"], ["sis_id", "45732b1e6526bd948da170824537523a"], ["created_at", "2018-02-14 00:11:53.237235"], ["updated_at", "2018-02-14 00:11:53.237235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:11:53.240190"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (9.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 48524528], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 48524528], ["sis_id", "d6e0766e002888e786e2f5e1da7ef7a3"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:11:53.264580"], ["updated_at", "2018-02-14 00:11:53.264580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 46843579], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 46843579], ["sis_id", "87bec990477ab630b0a9640ec07282a4"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:11:53.272439"], ["updated_at", "2018-02-14 00:11:53.272439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 46843579], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 12796222], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 12796222], ["sis_id", "27b8c6a59f42f19aa820c348fd450b73"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:11:53.280291"], ["updated_at", "2018-02-14 00:11:53.280291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 41342865], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 41342865], ["sis_id", "b8e1f1973f131e549268df2178fbe4c8"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:11:53.284799"], ["updated_at", "2018-02-14 00:11:53.284799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:11:53.292980','2018-02-14 00:11:53.292980'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:11:53.292980','2018-02-14 00:11:53.292980') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:11:53.300048','2018-02-14 00:11:53.300048'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:11:53.300048','2018-02-14 00:11:53.300048') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:11:53.306593','2018-02-14 00:11:53.306593'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:11:53.306593','2018-02-14 00:11:53.306593') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:11:53.319049','2018-02-14 00:11:53.319049'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:11:53.319049','2018-02-14 00:11:53.319049') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:11:53.327603','2018-02-14 00:11:53.327603'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:11:53.327603','2018-02-14 00:11:53.327603') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:11:53.335252','2018-02-14 00:11:53.335252') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:11:53.344811','2018-02-14 00:11:53.344811'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:11:53.344811','2018-02-14 00:11:53.344811') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:11:53.346619','2018-02-14 00:11:53.346619'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:11:53.346619','2018-02-14 00:11:53.346619') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (1.3ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111] Performing GoodJob (Job ID: 0aa9e305-54d0-4143-ae95-861b2cc48111) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111] SQL (1.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.913077"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:15:19.922438"], ["updated_at", "2018-02-14 00:15:19.922438"]] [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:19.925541"], ["status", "success"], ["updated_at", "2018-02-14 00:15:19.925866"], ["id", 91]] [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [0aa9e305-54d0-4143-ae95-861b2cc48111] Performed GoodJob (Job ID: 0aa9e305-54d0-4143-ae95-861b2cc48111) from Async(default) in 14.25ms  (1.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb] Performing BadJob (Job ID: 3105bc3b-008c-4245-b90b-c855ee96fedb) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.942277"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:15:19.942641"], ["updated_at", "2018-02-14 00:15:19.942641"]] [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:15:19.944209"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:15:19.944479"], ["id", 92]] [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [3105bc3b-008c-4245-b90b-c855ee96fedb] Error performing BadJob (Job ID: 3105bc3b-008c-4245-b90b-c855ee96fedb) from Async(default) in 3.95ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2f8cc362-2e89-40b9-8cd7-1d21029ca29e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.951349"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:19.951719"], ["updated_at", "2018-02-14 00:15:19.951719"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 93]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f8cc362-2e89-40b9-8cd7-1d21029ca29e] Performed CanvasSync::Jobs::ReportChecker (Job ID: 2f8cc362-2e89-40b9-8cd7-1d21029ca29e) from Async(default) in 7.54ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e] Performing CanvasSync::Jobs::ReportChecker (Job ID: 5dea6650-34a6-40cb-a809-ba166b73dc0e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.961991"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:19.962315"], ["updated_at", "2018-02-14 00:15:19.962315"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3321cf4e-ca83-4394-824e-3afbad748381) to Async(default) at 2018-02-14 00:15:49 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 94]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5dea6650-34a6-40cb-a809-ba166b73dc0e] Performed CanvasSync::Jobs::ReportChecker (Job ID: 5dea6650-34a6-40cb-a809-ba166b73dc0e) from Async(default) in 4.84ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f] Performing CanvasSync::Jobs::ReportChecker (Job ID: fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.969918"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:19.970303"], ["updated_at", "2018-02-14 00:15:19.970303"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:15:19.972763"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:15:19.973064"], ["id", 95]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: fed7d2e1-5e4c-4eb8-9dc4-8d6751e3ff8f) from Async(default) in 11.82ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: e6a78b92-be17-4527-99ac-b6335adc052b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:19.994723"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:19.995221"], ["updated_at", "2018-02-14 00:15:19.995221"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:15:19.997553"], ["id", 96]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.020354"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.020767"], ["id", 96]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [e6a78b92-be17-4527-99ac-b6335adc052b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: e6a78b92-be17-4527-99ac-b6335adc052b) from Async(default) in 27.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e] Performing CanvasSync::Jobs::ReportStarter (Job ID: a15618c4-3ab0-46a8-99fe-4f70f6203d8e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.026387"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:15:20.026833"], ["updated_at", "2018-02-14 00:15:20.026833"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 35f05205-ca5c-47b7-8348-82a97fbe737d) to Async(default) at 2018-02-14 00:15:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.038508"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.038871"], ["id", 97]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a15618c4-3ab0-46a8-99fe-4f70f6203d8e] Performed CanvasSync::Jobs::ReportStarter (Job ID: a15618c4-3ab0-46a8-99fe-4f70f6203d8e) from Async(default) in 14.09ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47] Performing CanvasSync::Jobs::ReportStarter (Job ID: b92c255e-18f4-4286-b6ff-5ebaac653e47) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.044492"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:15:20.044849"], ["updated_at", "2018-02-14 00:15:20.044849"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47]  (1.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.048119"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.048452"], ["id", 98]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b92c255e-18f4-4286-b6ff-5ebaac653e47] Performed CanvasSync::Jobs::ReportStarter (Job ID: b92c255e-18f4-4286-b6ff-5ebaac653e47) from Async(default) in 5.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9ec9588c-c792-488e-a07a-6d5029a239c4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.053274"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:15:20.053603"], ["updated_at", "2018-02-14 00:15:20.053603"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.056467"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.056847"], ["id", 99]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9ec9588c-c792-488e-a07a-6d5029a239c4] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9ec9588c-c792-488e-a07a-6d5029a239c4) from Async(default) in 5.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 4effa6a1-4881-4ac2-9b7b-6f9ae489f4da) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.065600"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.065954"], ["updated_at", "2018-02-14 00:15:20.065954"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.080220"], ["updated_at", "2018-02-14 00:15:20.080220"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Load (2.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.091458"], ["updated_at", "2018-02-14 00:15:20.091458"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.094854"], ["updated_at", "2018-02-14 00:15:20.094854"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (36, 37, 38)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.096614"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.096965"], ["id", 100]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [4effa6a1-4881-4ac2-9b7b-6f9ae489f4da] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 4effa6a1-4881-4ac2-9b7b-6f9ae489f4da) from Async(default) in 32.96ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 57640454-7e33-4a49-b2e2-4280d3a1b0d4) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.104739"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.105153"], ["updated_at", "2018-02-14 00:15:20.105153"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d4c0032f-796f-4835-a173-cb4728a23a27) to Async(default) at 2018-02-14 00:15:50 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.108330"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.108706"], ["id", 101]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [57640454-7e33-4a49-b2e2-4280d3a1b0d4] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 57640454-7e33-4a49-b2e2-4280d3a1b0d4) from Async(default) in 5.35ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 73ce7dd1-a8ff-46ec-a64a-1d5083513363) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.113498"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.113830"], ["updated_at", "2018-02-14 00:15:20.113830"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 17a24615-d778-49b9-9d0f-26106fa60b9e) to Async(default) at 2018-02-14 00:15:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.116037"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.116284"], ["id", 102]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [73ce7dd1-a8ff-46ec-a64a-1d5083513363] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 73ce7dd1-a8ff-46ec-a64a-1d5083513363) from Async(default) in 4.15ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 39182317], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 39182317], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "4d7d2aeb3fe06db9acb59c15cfa82859"], ["created_at", "2018-02-14 00:15:20.132631"], ["updated_at", "2018-02-14 00:15:20.132631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66776621], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66776621], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "3c805b1bba44cbe03f95ff76cf3cd1aa"], ["created_at", "2018-02-14 00:15:20.135139"], ["updated_at", "2018-02-14 00:15:20.135139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.6ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 13052491], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 13052491], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "inactive"], ["sis_id", "70206c169f862396ea32bf61e6065be7"], ["created_at", "2018-02-14 00:15:20.144132"], ["updated_at", "2018-02-14 00:15:20.144132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 09b74dbd-ad9b-402a-b859-b6f4c99c63b6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.145975"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:15:20.146379"], ["updated_at", "2018-02-14 00:15:20.146379"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:15:20.148627' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:15:20.148812' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.150141"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.150450"], ["id", 103]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [09b74dbd-ad9b-402a-b859-b6f4c99c63b6] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 09b74dbd-ad9b-402a-b859-b6f4c99c63b6) from Async(default) in 5.92ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 08e69e17-1f19-40df-8f22-e407f1166673) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.156832"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:15:20.157144"], ["updated_at", "2018-02-14 00:15:20.157144"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.158726"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.158953"], ["id", 104]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [08e69e17-1f19-40df-8f22-e407f1166673] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 08e69e17-1f19-40df-8f22-e407f1166673) from Async(default) in 3.34ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 254c1fa3-e57f-4e03-8642-5508f5ab453f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.167639"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.167988"], ["updated_at", "2018-02-14 00:15:20.167988"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:15:20.183806"], ["updated_at", "2018-02-14 00:15:20.183806"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (1.7ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:15:20.200310"], ["updated_at", "2018-02-14 00:15:20.200310"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (31, 32)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.205319"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.205667"], ["id", 105]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [254c1fa3-e57f-4e03-8642-5508f5ab453f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 254c1fa3-e57f-4e03-8642-5508f5ab453f) from Async(default) in 39.46ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 600cb3ea-4a0f-4c64-8c5c-01c34eaae22c) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.212901"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.213284"], ["updated_at", "2018-02-14 00:15:20.213284"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 76eb25ae-d1ea-4549-9ee7-fdae466a6039) to Async(default) at 2018-02-14 00:15:50 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.216217"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.216472"], ["id", 106]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [600cb3ea-4a0f-4c64-8c5c-01c34eaae22c] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 600cb3ea-4a0f-4c64-8c5c-01c34eaae22c) from Async(default) in 4.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 0e1ad0b9-e7e9-4535-b323-eebe78dc002d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.226073"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.226437"], ["updated_at", "2018-02-14 00:15:20.226437"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:15:20.234909"], ["updated_at", "2018-02-14 00:15:20.234909"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.237316"], ["updated_at", "2018-02-14 00:15:20.237316"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.239901"], ["updated_at", "2018-02-14 00:15:20.239901"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:15:20.242662"], ["updated_at", "2018-02-14 00:15:20.242662"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.5ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:15:20.253991"], ["updated_at", "2018-02-14 00:15:20.253991"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.257066"], ["updated_at", "2018-02-14 00:15:20.257066"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.258105"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.258420"], ["id", 107]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [0e1ad0b9-e7e9-4535-b323-eebe78dc002d] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 0e1ad0b9-e7e9-4535-b323-eebe78dc002d) from Async(default) in 34.39ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: c60ca4fa-8fb8-4923-8ecf-a55d140b647b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:15:20.266576"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:15:20.266926"], ["updated_at", "2018-02-14 00:15:20.266926"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fe3ab869-0319-4a6b-b48a-dba653912141) to Async(default) at 2018-02-14 00:15:50 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:15:20.269387"], ["status", "success"], ["updated_at", "2018-02-14 00:15:20.269689"], ["id", 108]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [c60ca4fa-8fb8-4923-8ecf-a55d140b647b] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: c60ca4fa-8fb8-4923-8ecf-a55d140b647b) from Async(default) in 4.55ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 30292313], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 30292313], ["role_name", "Cool Role"], ["canvas_role_id", 93308563], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.275461"], ["updated_at", "2018-02-14 00:15:20.275461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 7304867], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 7304867], ["role_name", "Cool Role"], ["canvas_role_id", 39711135], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.285162"], ["updated_at", "2018-02-14 00:15:20.285162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 7304867], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.294725"], ["updated_at", "2018-02-14 00:15:20.294725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 28861198], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.309866"], ["updated_at", "2018-02-14 00:15:20.309866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 42], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:15:20.313246"], ["id", 42]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (2.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:15:20.335297"], ["unlock_at", "2018-02-13 00:15:20.335388"], ["lock_at", "2018-03-07 00:15:20.335426"], ["created_at", "2018-02-14 00:15:20.339043"], ["updated_at", "2018-02-14 00:15:20.339043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:15:20.345567"], ["unlock_at", "2018-02-13 00:15:20.345658"], ["lock_at", "2018-03-07 00:15:20.345698"], ["created_at", "2018-02-14 00:15:20.346644"], ["updated_at", "2018-02-14 00:15:20.346644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:15:20.362533"], ["unlock_at", "2018-02-13 00:15:20.362627"], ["lock_at", "2018-03-07 00:15:20.362665"], ["created_at", "2018-02-14 00:15:20.363917"], ["updated_at", "2018-02-14 00:15:20.363917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 96012453], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 96012453], ["sis_id", "92a5264161a045755e099fcd68ad02f2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.381938"], ["end_date", "2018-03-07 00:15:20.382038"], ["created_at", "2018-02-14 00:15:20.385383"], ["updated_at", "2018-02-14 00:15:20.385383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74037523], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74037523], ["sis_id", "91c33bb49e7a6460ed94427681d7c55d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.387032"], ["end_date", "2018-03-07 00:15:20.387104"], ["created_at", "2018-02-14 00:15:20.387993"], ["updated_at", "2018-02-14 00:15:20.387993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:15:20.389329"], ["unlock_at", "2018-02-13 00:15:20.389413"], ["lock_at", "2018-03-07 00:15:20.389533"], ["created_at", "2018-02-14 00:15:20.390718"], ["updated_at", "2018-02-14 00:15:20.390718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 34], ["LIMIT", 1]] SQL (0.4ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 74037523], ["context_type", "Course"], ["updated_at", "2018-02-14 00:15:20.392710"], ["id", 34]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74037523], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 79795266], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 79795266], ["sis_id", "a485c08029771bf28644f32d01b66b6b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.416558"], ["end_date", "2018-03-07 00:15:20.416677"], ["created_at", "2018-02-14 00:15:20.417630"], ["updated_at", "2018-02-14 00:15:20.417630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 68], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24720510], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24720510], ["sis_id", "6966adedb3e2c860c9a7c5d3097d6bfe"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.423490"], ["end_date", "2018-03-07 00:15:20.423573"], ["created_at", "2018-02-14 00:15:20.424726"], ["updated_at", "2018-02-14 00:15:20.424726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24720510], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 14549643], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 14549643], ["sis_id", "bb05716879f2b698b12e02e7644574d2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.430819"], ["end_date", "2018-03-07 00:15:20.430896"], ["created_at", "2018-02-14 00:15:20.431680"], ["updated_at", "2018-02-14 00:15:20.431680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 41324299], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 41324299], ["sis_id", "9245dded56d15b03ee34d6ee8504669b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.435210"], ["end_date", "2018-03-07 00:15:20.435277"], ["created_at", "2018-02-14 00:15:20.436183"], ["updated_at", "2018-02-14 00:15:20.436183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74172704], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74172704], ["sis_id", "8c8125974001fa6db6d14db74dc0880d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.440167"], ["end_date", "2018-03-07 00:15:20.440245"], ["created_at", "2018-02-14 00:15:20.441073"], ["updated_at", "2018-02-14 00:15:20.441073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68444817], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 68444817], ["sis_id", "7c970e59d359b34a7070d34bec6d1569"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.444702"], ["end_date", "2018-03-07 00:15:20.444781"], ["created_at", "2018-02-14 00:15:20.445689"], ["updated_at", "2018-02-14 00:15:20.445689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 75161052], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 75161052], ["sis_id", "167b0a680395981b2de49d59518a85f1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:15:20.457527"], ["end_date", "2018-03-07 00:15:20.457662"], ["created_at", "2018-02-14 00:15:20.459057"], ["updated_at", "2018-02-14 00:15:20.459057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 80751223], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 80751223], ["created_at", "2018-02-14 00:15:20.482098"], ["updated_at", "2018-02-14 00:15:20.482098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 58467726], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 58467726], ["created_at", "2018-02-14 00:15:20.488045"], ["updated_at", "2018-02-14 00:15:20.488045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 58467726], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18955527], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18955527], ["created_at", "2018-02-14 00:15:20.496535"], ["updated_at", "2018-02-14 00:15:20.496535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 13528927], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 13528927], ["created_at", "2018-02-14 00:15:20.501355"], ["updated_at", "2018-02-14 00:15:20.501355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 8791775], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 8791775], ["created_at", "2018-02-14 00:15:20.514648"], ["updated_at", "2018-02-14 00:15:20.514648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 23997184], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 23997184], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.524998"], ["updated_at", "2018-02-14 00:15:20.524998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 91702980], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 91702980], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.530621"], ["updated_at", "2018-02-14 00:15:20.530621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 91702980], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:15:20.541897"], ["updated_at", "2018-02-14 00:15:20.541897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:15:20.560633"], ["updated_at", "2018-02-14 00:15:20.560633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.5ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:15:20.566765"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 33572183], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 33572183], ["created_at", "2018-02-14 00:15:20.590804"], ["updated_at", "2018-02-14 00:15:20.590804"]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2064324], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 2064324], ["created_at", "2018-02-14 00:15:20.606336"], ["updated_at", "2018-02-14 00:15:20.606336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2064324], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 16360902], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 16360902], ["created_at", "2018-02-14 00:15:20.614615"], ["updated_at", "2018-02-14 00:15:20.614615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 93030337], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 93030337], ["created_at", "2018-02-14 00:15:20.619206"], ["updated_at", "2018-02-14 00:15:20.619206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (3.1ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:15:20.631967"], ["graded_at", "2018-02-13 00:15:20.632060"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:15:20.636231"], ["updated_at", "2018-02-14 00:15:20.636231"]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 26], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:15:20.651354"], ["graded_at", "2018-02-13 00:15:20.651453"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:15:20.652407"], ["updated_at", "2018-02-14 00:15:20.652407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:15:20.660137"], ["graded_at", "2018-02-13 00:15:20.660214"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:15:20.661097"], ["updated_at", "2018-02-14 00:15:20.661097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:15:20.664687"], ["graded_at", "2018-02-13 00:15:20.664762"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:15:20.665616"], ["updated_at", "2018-02-14 00:15:20.665616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:15:20.669163"], ["graded_at", "2018-02-13 00:15:20.669229"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:15:20.670077"], ["updated_at", "2018-02-14 00:15:20.670077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 28735469], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 28735469], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "280cbaa8d774fa6872548f003c0df440"], ["created_at", "2018-02-14 00:15:20.675787"], ["updated_at", "2018-02-14 00:15:20.675787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 100], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93335431], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 93335431], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "6961986ccaf57bddf37b4f0a7f7d42b7"], ["created_at", "2018-02-14 00:15:20.681514"], ["updated_at", "2018-02-14 00:15:20.681514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93335431], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45564092], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45564092], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "b7590533ebfbccdde7aebd65ef8fd747"], ["created_at", "2018-02-14 00:15:20.696499"], ["updated_at", "2018-02-14 00:15:20.696499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63120101], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63120101], ["name", "Cool Term"], ["start_at", "2018-02-12 00:15:20.700426"], ["end_at", "2018-02-17 00:15:20.700490"], ["workflow_state", "active"], ["sis_id", "cf4937a32099671fe8b2990484abfba6"], ["created_at", "2018-02-14 00:15:20.702846"], ["updated_at", "2018-02-14 00:15:20.702846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80805935], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80805935], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "inactive"], ["sis_id", "4519e8ab44d38e0071782d399c9d8b4b"], ["created_at", "2018-02-14 00:15:20.705046"], ["updated_at", "2018-02-14 00:15:20.705046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34749], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34749], ["name", "Cool Term"], ["start_at", "2017-12-14 00:15:20.706335"], ["end_at", "2018-01-14 00:15:20.706391"], ["workflow_state", "active"], ["sis_id", "acefab088184d7e9ceea26f63cca72c9"], ["created_at", "2018-02-14 00:15:20.707553"], ["updated_at", "2018-02-14 00:15:20.707553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 9516942], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 9516942], ["name", "Cool Term"], ["start_at", "2018-08-14 00:15:20.708504"], ["end_at", "2019-02-14 00:15:20.708545"], ["workflow_state", "active"], ["sis_id", "a4b7b32b8d01db16d1fd73f57e93dafe"], ["created_at", "2018-02-14 00:15:20.709622"], ["updated_at", "2018-02-14 00:15:20.709622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:15:20.710643' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:15:20.710781' OR end_at IS NULL) [["workflow_state", "active"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:15:20.716468"], ["updated_at", "2018-02-14 00:15:20.716468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:15:19.079497"], ["end_at", "2018-02-17 00:15:19.079675"], ["workflow_state", "active"], ["sis_id", "a53f6a3561feb9508b8642fbd8c68087"], ["created_at", "2018-02-14 00:15:20.722441"], ["updated_at", "2018-02-14 00:15:20.722441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 108], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:15:20.725636"], ["id", 108]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 32671429], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 32671429], ["sis_id", "00c9373eb756701c0f59a802a5a1c04c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:15:20.757014"], ["updated_at", "2018-02-14 00:15:20.757014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88597199], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 88597199], ["sis_id", "ca6ef5a33a77c1c32ce5dd850e4ed051"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:15:20.763226"], ["updated_at", "2018-02-14 00:15:20.763226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88597199], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 91637051], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 91637051], ["sis_id", "9359de732161c8d4deede3ab6ee26c0d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:15:20.769497"], ["updated_at", "2018-02-14 00:15:20.769497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 56748472], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 56748472], ["sis_id", "68d1313d1b2178c17b987ab6d1e6f43b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:15:20.773788"], ["updated_at", "2018-02-14 00:15:20.773788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:15:20.789295','2018-02-14 00:15:20.789295'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:15:20.789295','2018-02-14 00:15:20.789295') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:15:20.797761','2018-02-14 00:15:20.797761'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:15:20.797761','2018-02-14 00:15:20.797761') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:15:20.804339','2018-02-14 00:15:20.804339'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:15:20.804339','2018-02-14 00:15:20.804339') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:15:20.811922','2018-02-14 00:15:20.811922'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:15:20.811922','2018-02-14 00:15:20.811922') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:15:20.820729','2018-02-14 00:15:20.820729'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:15:20.820729','2018-02-14 00:15:20.820729') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:15:20.827757','2018-02-14 00:15:20.827757') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:15:20.838197','2018-02-14 00:15:20.838197'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:15:20.838197','2018-02-14 00:15:20.838197') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:15:20.839840','2018-02-14 00:15:20.839840'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:15:20.839840','2018-02-14 00:15:20.839840') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-14 00:15:20.849642','2018-02-14 00:15:20.849642'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-14 00:15:20.849642','2018-02-14 00:15:20.849642') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (25.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-21 00:27:40.704086"], ["unlock_at", "2018-02-13 00:27:40.704214"], ["lock_at", "2018-03-07 00:27:40.704270"], ["created_at", "2018-02-14 00:27:40.733116"], ["updated_at", "2018-02-14 00:27:40.733116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-21 00:27:40.746314"], ["unlock_at", "2018-02-13 00:27:40.746441"], ["lock_at", "2018-03-07 00:27:40.746496"], ["created_at", "2018-02-14 00:27:40.747514"], ["updated_at", "2018-02-14 00:27:40.747514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-21 00:27:40.755240"], ["unlock_at", "2018-02-13 00:27:40.755310"], ["lock_at", "2018-03-07 00:27:40.755347"], ["created_at", "2018-02-14 00:27:40.756179"], ["updated_at", "2018-02-14 00:27:40.756179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (10.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 84441448], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 84441448], ["sis_id", "293fec852624db1a7907384ce19071c2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:40.776070"], ["end_date", "2018-03-07 00:27:40.776176"], ["created_at", "2018-02-14 00:27:40.788153"], ["updated_at", "2018-02-14 00:27:40.788153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88736085], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 88736085], ["sis_id", "8ff5f442d4467dbd3f178af16c72a0ec"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:40.790388"], ["end_date", "2018-03-07 00:27:40.790472"], ["created_at", "2018-02-14 00:27:40.791526"], ["updated_at", "2018-02-14 00:27:40.791526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-21 00:27:40.792826"], ["unlock_at", "2018-02-13 00:27:40.792885"], ["lock_at", "2018-03-07 00:27:40.792924"], ["created_at", "2018-02-14 00:27:40.793823"], ["updated_at", "2018-02-14 00:27:40.793823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 4], ["id", 40], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 88736085], ["context_type", "Course"], ["updated_at", "2018-02-14 00:27:40.795897"], ["id", 40]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88736085], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.6ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b] Performing GoodJob (Job ID: 7e338bec-c614-4084-abd2-2f114a9d972b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b] SQL (0.9ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.879172"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:27:40.890370"], ["updated_at", "2018-02-14 00:27:40.890370"]] [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:40.897412"], ["status", "success"], ["updated_at", "2018-02-14 00:27:40.897716"], ["id", 109]] [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [7e338bec-c614-4084-abd2-2f114a9d972b] Performed GoodJob (Job ID: 7e338bec-c614-4084-abd2-2f114a9d972b) from Async(default) in 20.02ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161] Performing BadJob (Job ID: aa311237-4dbd-4e3c-9657-5d7d6770d161) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.904140"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-14 00:27:40.904516"], ["updated_at", "2018-02-14 00:27:40.904516"]] [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161]  (1.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:27:40.906015"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:27:40.907393"], ["id", 110]] [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [aa311237-4dbd-4e3c-9657-5d7d6770d161] Error performing BadJob (Job ID: aa311237-4dbd-4e3c-9657-5d7d6770d161) from Async(default) in 5.03ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182] Performing CanvasSync::Jobs::ReportChecker (Job ID: c09221d6-924b-4ff8-a510-74ffecac2182) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.913906"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:40.914304"], ["updated_at", "2018-02-14 00:27:40.914304"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 111]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [c09221d6-924b-4ff8-a510-74ffecac2182] Performed CanvasSync::Jobs::ReportChecker (Job ID: c09221d6-924b-4ff8-a510-74ffecac2182) from Async(default) in 7.91ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7d11619a-5ea6-4c2d-baa9-e6bc8fba417f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.924889"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:40.925221"], ["updated_at", "2018-02-14 00:27:40.925221"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f9b01220-08f3-4172-9774-2d31d1597322) to Async(default) at 2018-02-14 00:28:10 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 112]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7d11619a-5ea6-4c2d-baa9-e6bc8fba417f] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7d11619a-5ea6-4c2d-baa9-e6bc8fba417f) from Async(default) in 5.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 66443171-fdf3-4ecf-831d-11ccc7f339d0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.934104"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:40.934474"], ["updated_at", "2018-02-14 00:27:40.934474"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-14 00:27:40.937011"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-14 00:27:40.937260"], ["id", 113]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [66443171-fdf3-4ecf-831d-11ccc7f339d0] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 66443171-fdf3-4ecf-831d-11ccc7f339d0) from Async(default) in 5.71ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: b43f0c6c-fac6-4548-8284-9d0f4c690071) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:40.952187"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:40.952727"], ["updated_at", "2018-02-14 00:27:40.952727"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-14 00:27:40.955008"], ["id", 114]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:40.996050"], ["status", "success"], ["updated_at", "2018-02-14 00:27:40.996608"], ["id", 114]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b43f0c6c-fac6-4548-8284-9d0f4c690071] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: b43f0c6c-fac6-4548-8284-9d0f4c690071) from Async(default) in 46.35ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef] Performing CanvasSync::Jobs::ReportStarter (Job ID: ed467414-de6d-4448-8b5a-af754adb5cef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.002917"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-14 00:27:41.003307"], ["updated_at", "2018-02-14 00:27:41.003307"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a8ee286c-bce5-45d4-ae91-894d1afe3e53) to Async(default) at 2018-02-14 00:28:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.007759"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.008098"], ["id", 115]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [ed467414-de6d-4448-8b5a-af754adb5cef] Performed CanvasSync::Jobs::ReportStarter (Job ID: ed467414-de6d-4448-8b5a-af754adb5cef) from Async(default) in 6.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62] Performing CanvasSync::Jobs::ReportStarter (Job ID: e162e931-3f65-42c7-b7b0-7fbe2aa33e62) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.014046"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:27:41.014488"], ["updated_at", "2018-02-14 00:27:41.014488"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.016811"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.017028"], ["id", 116]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [e162e931-3f65-42c7-b7b0-7fbe2aa33e62] Performed CanvasSync::Jobs::ReportStarter (Job ID: e162e931-3f65-42c7-b7b0-7fbe2aa33e62) from Async(default) in 4.62ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290] Performing CanvasSync::Jobs::ReportStarter (Job ID: 25c7b43d-032e-47d2-a6d3-e4c786c37290) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.021791"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-14 00:27:41.022136"], ["updated_at", "2018-02-14 00:27:41.022136"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.024565"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.024804"], ["id", 117]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25c7b43d-032e-47d2-a6d3-e4c786c37290] Performed CanvasSync::Jobs::ReportStarter (Job ID: 25c7b43d-032e-47d2-a6d3-e4c786c37290) from Async(default) in 4.48ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (22.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 1c404575-e80b-4220-8818-2b61c539c46e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.055464"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.055990"], ["updated_at", "2018-02-14 00:27:41.055990"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.077710"], ["updated_at", "2018-02-14 00:27:41.077710"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.082126"], ["updated_at", "2018-02-14 00:27:41.082126"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.086346"], ["updated_at", "2018-02-14 00:27:41.086346"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (43, 44, 45)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.089388"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.089690"], ["id", 118]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [1c404575-e80b-4220-8818-2b61c539c46e] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 1c404575-e80b-4220-8818-2b61c539c46e) from Async(default) in 36.09ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.097859"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.098766"], ["updated_at", "2018-02-14 00:27:41.098766"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 6249fbd7-bead-4976-b075-9602da63b1e0) to Async(default) at 2018-02-14 00:28:11 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.103819"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.104327"], ["id", 119]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 76d2c8f1-cd36-4289-a2fb-2cfcb2e2910e) from Async(default) in 8.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: a476b4c9-8e9c-4c33-b6d9-7473f83a8c22) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.112410"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.113270"], ["updated_at", "2018-02-14 00:27:41.113270"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3ab12230-f3b6-415d-909d-47641a3c52e2) to Async(default) at 2018-02-14 00:28:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.117569"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.117919"], ["id", 120]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [a476b4c9-8e9c-4c33-b6d9-7473f83a8c22] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: a476b4c9-8e9c-4c33-b6d9-7473f83a8c22) from Async(default) in 7.85ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (2.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 77273963], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 77273963], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "6077426bfce7299010143e2ce89e8021"], ["created_at", "2018-02-14 00:27:41.154451"], ["updated_at", "2018-02-14 00:27:41.154451"]]  (5.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 65400265], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 65400265], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "5fc7dfbd520d4b2d0f1c02853f689577"], ["created_at", "2018-02-14 00:27:41.163364"], ["updated_at", "2018-02-14 00:27:41.163364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 22406956], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 22406956], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "inactive"], ["sis_id", "97b16f6e16afa10ef424b92b9d6ea639"], ["created_at", "2018-02-14 00:27:41.165191"], ["updated_at", "2018-02-14 00:27:41.165191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e2ba9165-8751-493b-95c0-f3522f262b5e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.166545"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-14 00:27:41.166868"], ["updated_at", "2018-02-14 00:27:41.166868"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:27:41.168882' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:27:41.169141' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.170598"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.170934"], ["id", 121]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e2ba9165-8751-493b-95c0-f3522f262b5e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e2ba9165-8751-493b-95c0-f3522f262b5e) from Async(default) in 5.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a800a40d-f505-41a8-ae08-01e7d299ee21) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.175801"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-14 00:27:41.176171"], ["updated_at", "2018-02-14 00:27:41.176171"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.178009"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.178244"], ["id", 122]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a800a40d-f505-41a8-ae08-01e7d299ee21] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a800a40d-f505-41a8-ae08-01e7d299ee21) from Async(default) in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (15.0ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 823d820d-b8d3-43d8-befc-78ca4343a31d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.201653"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.202223"], ["updated_at", "2018-02-14 00:27:41.202223"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:27:41.229278"], ["updated_at", "2018-02-14 00:27:41.229278"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-14 00:27:41.237344"], ["updated_at", "2018-02-14 00:27:41.237344"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (37, 38)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.241767"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.242068"], ["id", 123]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [823d820d-b8d3-43d8-befc-78ca4343a31d] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 823d820d-b8d3-43d8-befc-78ca4343a31d) from Async(default) in 41.74ms  (0.1ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 1194e490-0172-473f-9f12-ff8b2e48573f) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.247980"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.248346"], ["updated_at", "2018-02-14 00:27:41.248346"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f776bc9f-79c5-4970-9910-450644833f3a) to Async(default) at 2018-02-14 00:28:11 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.250788"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.251076"], ["id", 124]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [1194e490-0172-473f-9f12-ff8b2e48573f] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 1194e490-0172-473f-9f12-ff8b2e48573f) from Async(default) in 4.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 66c0d25f-70bb-4b2c-b1ee-0056c9d676da) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.256785"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.257210"], ["updated_at", "2018-02-14 00:27:41.257210"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:27:41.264192"], ["updated_at", "2018-02-14 00:27:41.264192"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.266562"], ["updated_at", "2018-02-14 00:27:41.266562"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.268625"], ["updated_at", "2018-02-14 00:27:41.268625"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-14 00:27:41.271401"], ["updated_at", "2018-02-14 00:27:41.271401"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-14 00:27:41.273804"], ["updated_at", "2018-02-14 00:27:41.273804"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.277206"], ["updated_at", "2018-02-14 00:27:41.277206"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] SQL (1.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.278246"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.278555"], ["id", 125]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [66c0d25f-70bb-4b2c-b1ee-0056c9d676da] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 66c0d25f-70bb-4b2c-b1ee-0056c9d676da) from Async(default) in 31.16ms  (0.3ms) SELECT COUNT(*) FROM "terms"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 9a8afddf-b56d-4adf-9fa1-a35d8e57d1be) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-14 00:27:41.293462"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-14 00:27:41.293916"], ["updated_at", "2018-02-14 00:27:41.293916"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: aef18628-8418-4060-8039-c7344bc2ea59) to Async(default) at 2018-02-14 00:28:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-14 00:27:41.296388"], ["status", "success"], ["updated_at", "2018-02-14 00:27:41.296702"], ["id", 126]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [9a8afddf-b56d-4adf-9fa1-a35d8e57d1be] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 9a8afddf-b56d-4adf-9fa1-a35d8e57d1be) from Async(default) in 4.57ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 80118685], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 80118685], ["role_name", "Cool Role"], ["canvas_role_id", 25306417], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.303204"], ["updated_at", "2018-02-14 00:27:41.303204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 84070037], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 84070037], ["role_name", "Cool Role"], ["canvas_role_id", 46854983], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.309050"], ["updated_at", "2018-02-14 00:27:41.309050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 84070037], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.317898"], ["updated_at", "2018-02-14 00:27:41.317898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 9467318], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.323533"], ["updated_at", "2018-02-14 00:27:41.323533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 49], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-14 00:27:41.332996"], ["id", 49]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 31785385], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 31785385], ["sis_id", "a3cfc97d0d0ea435b039886fb279ab0f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.338452"], ["end_date", "2018-03-07 00:27:41.338540"], ["created_at", "2018-02-14 00:27:41.339576"], ["updated_at", "2018-02-14 00:27:41.339576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 81], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50725923], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50725923], ["sis_id", "b3acdcc149a97aba400370cbecf8af7b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.345776"], ["end_date", "2018-03-07 00:27:41.345851"], ["created_at", "2018-02-14 00:27:41.346648"], ["updated_at", "2018-02-14 00:27:41.346648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50725923], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 14319761], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 14319761], ["sis_id", "1c20ef9a98fec38ef8e3bd94945f9071"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.354013"], ["end_date", "2018-03-07 00:27:41.354084"], ["created_at", "2018-02-14 00:27:41.354997"], ["updated_at", "2018-02-14 00:27:41.354997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 36140174], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 36140174], ["sis_id", "e8ccf465ffbed3b413b9fad34bb73cd1"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.358898"], ["end_date", "2018-03-07 00:27:41.358987"], ["created_at", "2018-02-14 00:27:41.359753"], ["updated_at", "2018-02-14 00:27:41.359753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23865554], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23865554], ["sis_id", "cb7f817908874437d5a7d9b266452472"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.363204"], ["end_date", "2018-03-07 00:27:41.363262"], ["created_at", "2018-02-14 00:27:41.364158"], ["updated_at", "2018-02-14 00:27:41.364158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 91327395], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 91327395], ["sis_id", "c0864d79ab86401e044bde8e6da88728"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.367713"], ["end_date", "2018-03-07 00:27:41.367775"], ["created_at", "2018-02-14 00:27:41.368561"], ["updated_at", "2018-02-14 00:27:41.368561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 15693778], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 15693778], ["sis_id", "cf719414d6e4745526c847043ac9ef40"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-11 00:27:41.372157"], ["end_date", "2018-03-07 00:27:41.372220"], ["created_at", "2018-02-14 00:27:41.373051"], ["updated_at", "2018-02-14 00:27:41.373051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 33307774], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 33307774], ["created_at", "2018-02-14 00:27:41.405753"], ["updated_at", "2018-02-14 00:27:41.405753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 25535588], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 25535588], ["created_at", "2018-02-14 00:27:41.411854"], ["updated_at", "2018-02-14 00:27:41.411854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 25535588], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 6907975], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 6907975], ["created_at", "2018-02-14 00:27:41.418420"], ["updated_at", "2018-02-14 00:27:41.418420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 98731907], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 98731907], ["created_at", "2018-02-14 00:27:41.424443"], ["updated_at", "2018-02-14 00:27:41.424443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 78757435], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 78757435], ["created_at", "2018-02-14 00:27:41.430190"], ["updated_at", "2018-02-14 00:27:41.430190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 85814037], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 85814037], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.436246"], ["updated_at", "2018-02-14 00:27:41.436246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 94461866], ["LIMIT", 1]] SQL (3.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 94461866], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.443169"], ["updated_at", "2018-02-14 00:27:41.443169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 94461866], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-14 00:27:41.464029"], ["updated_at", "2018-02-14 00:27:41.464029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-14 00:27:41.474719"], ["updated_at", "2018-02-14 00:27:41.474719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 42], ["LIMIT", 1]] SQL (0.5ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-14 00:27:41.479679"], ["id", 42]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (5.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 69121967], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 69121967], ["created_at", "2018-02-14 00:27:41.518677"], ["updated_at", "2018-02-14 00:27:41.518677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73670510], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 73670510], ["created_at", "2018-02-14 00:27:41.525816"], ["updated_at", "2018-02-14 00:27:41.525816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73670510], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64207473], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64207473], ["created_at", "2018-02-14 00:27:41.533025"], ["updated_at", "2018-02-14 00:27:41.533025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60484456], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 60484456], ["created_at", "2018-02-14 00:27:41.537223"], ["updated_at", "2018-02-14 00:27:41.537223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96681700], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 96681700], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "40aa6aab001cf7ffe7f5f490a247dc31"], ["created_at", "2018-02-14 00:27:41.541750"], ["updated_at", "2018-02-14 00:27:41.541750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 118], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 28861346], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 28861346], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "1d269c0291e4c59390730ca471587c34"], ["created_at", "2018-02-14 00:27:41.547771"], ["updated_at", "2018-02-14 00:27:41.547771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 28861346], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 86544810], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 86544810], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "df51a64c00c2803e8e542a441347318a"], ["created_at", "2018-02-14 00:27:41.555931"], ["updated_at", "2018-02-14 00:27:41.555931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6812239], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 6812239], ["name", "Cool Term"], ["start_at", "2018-02-12 00:27:41.568940"], ["end_at", "2018-02-17 00:27:41.569023"], ["workflow_state", "active"], ["sis_id", "9f95267ded83a16ffb4d015e107dae52"], ["created_at", "2018-02-14 00:27:41.570356"], ["updated_at", "2018-02-14 00:27:41.570356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 15156482], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 15156482], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "inactive"], ["sis_id", "51926102bbc6dde95fefe991032c4702"], ["created_at", "2018-02-14 00:27:41.572301"], ["updated_at", "2018-02-14 00:27:41.572301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 42863065], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 42863065], ["name", "Cool Term"], ["start_at", "2017-12-14 00:27:41.573272"], ["end_at", "2018-01-14 00:27:41.573329"], ["workflow_state", "active"], ["sis_id", "fa35a2a1ad26c15a64601fec81d0364d"], ["created_at", "2018-02-14 00:27:41.575572"], ["updated_at", "2018-02-14 00:27:41.575572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 24356084], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 24356084], ["name", "Cool Term"], ["start_at", "2018-08-14 00:27:41.576535"], ["end_at", "2019-02-14 00:27:41.576583"], ["workflow_state", "active"], ["sis_id", "0cdfae7e8cedbd97fb1c0f5ed941533b"], ["created_at", "2018-02-14 00:27:41.577555"], ["updated_at", "2018-02-14 00:27:41.577555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-01 00:27:41.578566' OR start_at IS NULL) AND (end_at >= '2018-01-30 00:27:41.578669' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-14 00:27:41.584558"], ["updated_at", "2018-02-14 00:27:41.584558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-11 00:27:39.762625"], ["end_at", "2018-02-17 00:27:39.762812"], ["workflow_state", "active"], ["sis_id", "62e0b4e7ff55c1b2fed3c015f272852f"], ["created_at", "2018-02-14 00:27:41.591331"], ["updated_at", "2018-02-14 00:27:41.591331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 126], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-14 00:27:41.594374"], ["id", 126]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 126], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (4.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 92969008], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 92969008], ["sis_id", "801934a487c1db80504c9ff13635c2dc"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:27:41.620198"], ["updated_at", "2018-02-14 00:27:41.620198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2517322], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 2517322], ["sis_id", "4646aedae166a75926d4276ee8e5689a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:27:41.627282"], ["updated_at", "2018-02-14 00:27:41.627282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 2517322], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 1915312], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 1915312], ["sis_id", "e9ca453e7df403707a75f00020dc00ba"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:27:41.634846"], ["updated_at", "2018-02-14 00:27:41.634846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 47190981], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 47190981], ["sis_id", "2f799146cf2e02e04529dd80c3fec78d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-14 00:27:41.639045"], ["updated_at", "2018-02-14 00:27:41.639045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-14 00:27:41.647131','2018-02-14 00:27:41.647131'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-14 00:27:41.647131','2018-02-14 00:27:41.647131') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","assignment_group_id"=EXCLUDED."assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:27:41.656480','2018-02-14 00:27:41.656480'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:27:41.656480','2018-02-14 00:27:41.656480') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:27:41.672273','2018-02-14 00:27:41.672273'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:27:41.672273','2018-02-14 00:27:41.672273') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-14 00:27:41.681725','2018-02-14 00:27:41.681725'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-14 00:27:41.681725','2018-02-14 00:27:41.681725') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:27:41.688767','2018-02-14 00:27:41.688767'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-14 00:27:41.688767','2018-02-14 00:27:41.688767') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-14 00:27:41.695343','2018-02-14 00:27:41.695343') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-14 00:27:41.713133','2018-02-14 00:27:41.713133'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-14 00:27:41.713133','2018-02-14 00:27:41.713133') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-14 00:27:41.715114','2018-02-14 00:27:41.715114'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-14 00:27:41.715114','2018-02-14 00:27:41.715114') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (19.8ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-14 00:27:41.749765','2018-02-14 00:27:41.749765'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-14 00:27:41.749765','2018-02-14 00:27:41.749765') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-07 00:27:41.770129"], ["graded_at", "2018-02-13 00:27:41.770268"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.771811"], ["updated_at", "2018-02-14 00:27:41.771811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-07 00:27:41.779212"], ["graded_at", "2018-02-13 00:27:41.779360"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.780282"], ["updated_at", "2018-02-14 00:27:41.780282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-07 00:27:41.786262"], ["graded_at", "2018-02-13 00:27:41.786329"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.787254"], ["updated_at", "2018-02-14 00:27:41.787254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-07 00:27:41.790941"], ["graded_at", "2018-02-13 00:27:41.791020"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.791903"], ["updated_at", "2018-02-14 00:27:41.791903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:27:41.795615"], ["graded_at", "2018-02-13 00:27:41.795683"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.796541"], ["updated_at", "2018-02-14 00:27:41.796541"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (121.2ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (390.7ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (18.8ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (3.9ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.4ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (3.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.5ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.2ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (3.5ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (4.2ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.6ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (2.7ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.7ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.3ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.3ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (3.6ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (3.8ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20180215214227)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180213235544), (20170915210836);   (3.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-15 21:42:54.992068"], ["updated_at", "2018-02-15 21:42:54.992068"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (122.0ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (385.3ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE  (14.9ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE  (4.6ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "default_assignment_name" character varying, "position" integer, "assignment_weighting_scheme" text, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")  (1.3ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (4.2ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.5ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (3.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (4.2ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.5ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (4.1ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (4.9ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.4ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (2.6ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.5ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.3ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.3ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (3.8ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (3.7ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180215220605)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180213235544), (20180215214227), (20170915210836);   (3.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-15 22:06:26.449672"], ["updated_at", "2018-02-15 22:06:26.449672"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (2.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-22 22:06:26.742842"], ["unlock_at", "2018-02-14 22:06:26.742996"], ["lock_at", "2018-03-08 22:06:26.743036"], ["created_at", "2018-02-15 22:06:26.749707"], ["updated_at", "2018-02-15 22:06:26.749707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-22 22:06:26.772343"], ["unlock_at", "2018-02-14 22:06:26.772438"], ["lock_at", "2018-03-08 22:06:26.772478"], ["created_at", "2018-02-15 22:06:26.773376"], ["updated_at", "2018-02-15 22:06:26.773376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-22 22:06:26.783061"], ["unlock_at", "2018-02-14 22:06:26.783134"], ["lock_at", "2018-03-08 22:06:26.783194"], ["created_at", "2018-02-15 22:06:26.783982"], ["updated_at", "2018-02-15 22:06:26.783982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-22 22:06:26.787834"], ["unlock_at", "2018-02-14 22:06:26.787923"], ["lock_at", "2018-03-08 22:06:26.787961"], ["created_at", "2018-02-15 22:06:26.788816"], ["updated_at", "2018-02-15 22:06:26.788816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24260761], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24260761], ["sis_id", "8e0d72ae3ee89c8b0f42703fb11aa222"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:26.803214"], ["end_date", "2018-03-08 22:06:26.803321"], ["created_at", "2018-02-15 22:06:26.806468"], ["updated_at", "2018-02-15 22:06:26.806468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46174241], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 46174241], ["sis_id", "ab79dffeaa3ac45fe63089653876fbb5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:26.808142"], ["end_date", "2018-03-08 22:06:26.808227"], ["created_at", "2018-02-15 22:06:26.809107"], ["updated_at", "2018-02-15 22:06:26.809107"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-22 22:06:26.818241"], ["unlock_at", "2018-02-14 22:06:26.818341"], ["lock_at", "2018-03-08 22:06:26.818409"], ["created_at", "2018-02-15 22:06:26.819734"], ["updated_at", "2018-02-15 22:06:26.819734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 5], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 46174241], ["context_type", "Course"], ["updated_at", "2018-02-15 22:06:26.822288"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46174241], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] Performing GoodJob (Job ID: 3ccaf3cc-6c95-4698-a743-730fffed4d44) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.924574"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:06:26.933565"], ["updated_at", "2018-02-15 22:06:26.933565"]] [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:26.936692"], ["status", "success"], ["updated_at", "2018-02-15 22:06:26.937010"], ["id", 1]] [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] Performed GoodJob (Job ID: 3ccaf3cc-6c95-4698-a743-730fffed4d44) from Async(default) in 13.75ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] Performing BadJob (Job ID: 7b20f673-a42c-4f70-9493-17525923ddba) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.943480"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:06:26.943888"], ["updated_at", "2018-02-15 22:06:26.943888"]] [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:06:26.945552"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:06:26.945896"], ["id", 2]] [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] Error performing BadJob (Job ID: 7b20f673-a42c-4f70-9493-17525923ddba) from Async(default) in 4.15ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] Performing CanvasSync::Jobs::ReportChecker (Job ID: 26d190ee-15aa-4336-9c67-b4e1a53bcb88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.951878"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:26.952227"], ["updated_at", "2018-02-15 22:06:26.952227"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] Performed CanvasSync::Jobs::ReportChecker (Job ID: 26d190ee-15aa-4336-9c67-b4e1a53bcb88) from Async(default) in 34.37ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Performing CanvasSync::Jobs::ReportChecker (Job ID: e33cd5a5-38ac-4685-8382-e7eed4df3cc8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.991101"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:26.991522"], ["updated_at", "2018-02-15 22:06:26.991522"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4bede8ed-b698-471f-b1b5-ec55c092bb4d) to Async(default) at 2018-02-15 22:06:56 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Performed CanvasSync::Jobs::ReportChecker (Job ID: e33cd5a5-38ac-4685-8382-e7eed4df3cc8) from Async(default) in 7.38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Performing CanvasSync::Jobs::ReportChecker (Job ID: 86095377-9295-45d2-9cef-90fa35f04a56) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.001547"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.001881"], ["updated_at", "2018-02-15 22:06:27.001881"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:06:27.004019"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:06:27.004285"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 86095377-9295-45d2-9cef-90fa35f04a56) from Async(default) in 4.62ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 32518ad7-e243-4cf4-ba90-f4ecfcba8bc0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.010061"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.010546"], ["updated_at", "2018-02-15 22:06:27.010546"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-15 22:06:27.012444"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.062619"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.063342"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 32518ad7-e243-4cf4-ba90-f4ecfcba8bc0) from Async(default) in 55.39ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Performing CanvasSync::Jobs::ReportStarter (Job ID: c2201f3e-7854-4c03-98bc-fb453d7e0258) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.069652"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-15 22:06:27.070077"], ["updated_at", "2018-02-15 22:06:27.070077"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a9468443-3831-4365-9044-6d709cf4a535) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.073739"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.074079"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Performed CanvasSync::Jobs::ReportStarter (Job ID: c2201f3e-7854-4c03-98bc-fb453d7e0258) from Async(default) in 5.96ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] Performing CanvasSync::Jobs::ReportStarter (Job ID: 25ad459d-c9ff-4b4c-948a-350211abdb7e) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.079588"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:06:27.080213"], ["updated_at", "2018-02-15 22:06:27.080213"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.082832"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.083183"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] Performed CanvasSync::Jobs::ReportStarter (Job ID: 25ad459d-c9ff-4b4c-948a-350211abdb7e) from Async(default) in 5.19ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] Performing CanvasSync::Jobs::ReportStarter (Job ID: eeec9bd8-3d13-4946-94fb-ba1283b17ff8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.089936"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:06:27.090377"], ["updated_at", "2018-02-15 22:06:27.090377"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.093403"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.093727"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] Performed CanvasSync::Jobs::ReportStarter (Job ID: eeec9bd8-3d13-4946-94fb-ba1283b17ff8) from Async(default) in 5.45ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.4ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 315d9a92-2f12-4c2e-9417-723345c3653b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.111173"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.111624"], ["updated_at", "2018-02-15 22:06:27.111624"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.131983"], ["updated_at", "2018-02-15 22:06:27.131983"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.134924"], ["updated_at", "2018-02-15 22:06:27.134924"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.137634"], ["updated_at", "2018-02-15 22:06:27.137634"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.139283"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.139608"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 315d9a92-2f12-4c2e-9417-723345c3653b) from Async(default) in 29.85ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: db62f980-1736-49d8-a833-8f87e9a1d5e8) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.147057"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.147500"], ["updated_at", "2018-02-15 22:06:27.147500"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 285d330e-cd2a-4193-b5c9-dafcc9f8d9a6) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.150525"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.150825"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: db62f980-1736-49d8-a833-8f87e9a1d5e8) from Async(default) in 5.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 66c04b81-4750-49eb-bfc1-d2f4d29a64b3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.158979"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.159597"], ["updated_at", "2018-02-15 22:06:27.159597"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c9368f11-2b48-44bc-a31d-f9089c07719e) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.162927"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.163275"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 66c04b81-4750-49eb-bfc1-d2f4d29a64b3) from Async(default) in 5.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 40c200f7-0721-4dba-82bc-7b6de8adae34) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.168913"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.169343"], ["updated_at", "2018-02-15 22:06:27.169343"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9abaa44e-2a16-4a6c-b6d0-5f37b83407be) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.172884"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.173316"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 40c200f7-0721-4dba-82bc-7b6de8adae34) from Async(default) in 6.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41396644], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41396644], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "86c6d8a123b7acff17df151763dd5d93"], ["created_at", "2018-02-15 22:06:27.206079"], ["updated_at", "2018-02-15 22:06:27.206079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50823247], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50823247], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "6b20a6073fea75b7f94492f04218bbdb"], ["created_at", "2018-02-15 22:06:27.210473"], ["updated_at", "2018-02-15 22:06:27.210473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12814805], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 12814805], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "inactive"], ["sis_id", "d24df2bf1f2b9cb3bb4fd1d9b6e3f97a"], ["created_at", "2018-02-15 22:06:27.213959"], ["updated_at", "2018-02-15 22:06:27.213959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.215905"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-15 22:06:27.216248"], ["updated_at", "2018-02-15 22:06:27.216248"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Term Load (1.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:06:27.219415' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:06:27.219591' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.223179"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.223526"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61) from Async(default) in 9.69ms  (0.1ms) ROLLBACK  (1.0ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: adfc9a68-1b9f-4a2a-866f-9e3768c14872) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.238810"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-15 22:06:27.239413"], ["updated_at", "2018-02-15 22:06:27.239413"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.242643"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.243180"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: adfc9a68-1b9f-4a2a-866f-9e3768c14872) from Async(default) in 6.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 1a7b4450-5917-4829-a714-dad79123e4ec) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.257143"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.258201"], ["updated_at", "2018-02-15 22:06:27.258201"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:06:27.302759"], ["updated_at", "2018-02-15 22:06:27.302759"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-15 22:06:27.312362"], ["updated_at", "2018-02-15 22:06:27.312362"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.316706"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.317002"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 1a7b4450-5917-4829-a714-dad79123e4ec) from Async(default) in 61.13ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f4c3460-3e37-469b-ab7c-30eaafaad621) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.322744"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.323140"], ["updated_at", "2018-02-15 22:06:27.323140"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dd91d852-7872-465b-91e5-f9d144b4bf13) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.325638"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.325901"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f4c3460-3e37-469b-ab7c-30eaafaad621) from Async(default) in 4.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.332542"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.332918"], ["updated_at", "2018-02-15 22:06:27.332918"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:06:27.339050"], ["updated_at", "2018-02-15 22:06:27.339050"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.341577"], ["updated_at", "2018-02-15 22:06:27.341577"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.343985"], ["updated_at", "2018-02-15 22:06:27.343985"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-15 22:06:27.347180"], ["updated_at", "2018-02-15 22:06:27.347180"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-15 22:06:27.349606"], ["updated_at", "2018-02-15 22:06:27.349606"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.352507"], ["updated_at", "2018-02-15 22:06:27.352507"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (1.7ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.360707"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.361280"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b) from Async(default) in 30.48ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: ae4cd86b-540b-4740-98c0-920d6260df01) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.368246"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.368687"], ["updated_at", "2018-02-15 22:06:27.368687"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dc12c517-2a47-4594-bd8f-95e399fb6553) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.371391"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.371723"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: ae4cd86b-540b-4740-98c0-920d6260df01) from Async(default) in 6.04ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 43286280], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 43286280], ["role_name", "Cool Role"], ["canvas_role_id", 26920776], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.378495"], ["updated_at", "2018-02-15 22:06:27.378495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 40863331], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 40863331], ["role_name", "Cool Role"], ["canvas_role_id", 82040208], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.384699"], ["updated_at", "2018-02-15 22:06:27.384699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 40863331], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.392462"], ["updated_at", "2018-02-15 22:06:27.392462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 91059761], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.397937"], ["updated_at", "2018-02-15 22:06:27.397937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-15 22:06:27.401183"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.9ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (2.5ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.425211"], ["canvas_updated_at", "2018-02-14 22:06:27.425317"], ["created_at", "2018-02-15 22:06:27.429166"], ["updated_at", "2018-02-15 22:06:27.429166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.435628"], ["canvas_updated_at", "2018-02-14 22:06:27.435726"], ["created_at", "2018-02-15 22:06:27.436641"], ["updated_at", "2018-02-15 22:06:27.436641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.442467"], ["canvas_updated_at", "2018-02-14 22:06:27.442535"], ["created_at", "2018-02-15 22:06:27.443354"], ["updated_at", "2018-02-15 22:06:27.443354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.446895"], ["canvas_updated_at", "2018-02-14 22:06:27.446963"], ["created_at", "2018-02-15 22:06:27.447801"], ["updated_at", "2018-02-15 22:06:27.447801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37185643], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37185643], ["sis_id", "3344abdd6678afddf52326d74eb60969"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.451884"], ["end_date", "2018-03-08 22:06:27.451966"], ["created_at", "2018-02-15 22:06:27.452980"], ["updated_at", "2018-02-15 22:06:27.452980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90681969], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 90681969], ["sis_id", "36d62ab356c5e7b0abb7bd61990ec1c3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.460146"], ["end_date", "2018-03-08 22:06:27.460242"], ["created_at", "2018-02-15 22:06:27.461386"], ["updated_at", "2018-02-15 22:06:27.461386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90681969], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76784647], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76784647], ["sis_id", "c40f921f627b3693d5f14ed88f1f72f3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.474853"], ["end_date", "2018-03-08 22:06:27.474970"], ["created_at", "2018-02-15 22:06:27.476266"], ["updated_at", "2018-02-15 22:06:27.476266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43101757], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43101757], ["sis_id", "93946e1e33d21c2ce1227fc9a8fd55f5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.480573"], ["end_date", "2018-03-08 22:06:27.480645"], ["created_at", "2018-02-15 22:06:27.481528"], ["updated_at", "2018-02-15 22:06:27.481528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76266459], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76266459], ["sis_id", "40d569f333c933b9cf5bc730088b6edc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.486257"], ["end_date", "2018-03-08 22:06:27.486330"], ["created_at", "2018-02-15 22:06:27.487304"], ["updated_at", "2018-02-15 22:06:27.487304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 57973229], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 57973229], ["sis_id", "f7d469c3a649613f4dc08f1390d24e7c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.491408"], ["end_date", "2018-03-08 22:06:27.491505"], ["created_at", "2018-02-15 22:06:27.492770"], ["updated_at", "2018-02-15 22:06:27.492770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58786803], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58786803], ["sis_id", "b615094321273b98b54f6918aec4b6b4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.496608"], ["end_date", "2018-03-08 22:06:27.496677"], ["created_at", "2018-02-15 22:06:27.497491"], ["updated_at", "2018-02-15 22:06:27.497491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68940573], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 68940573], ["sis_id", "891647880088edec5dec4a3f2002f58d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.500949"], ["end_date", "2018-03-08 22:06:27.501014"], ["created_at", "2018-02-15 22:06:27.501809"], ["updated_at", "2018-02-15 22:06:27.501809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (6.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 54270635], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 54270635], ["created_at", "2018-02-15 22:06:27.527585"], ["updated_at", "2018-02-15 22:06:27.527585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67558822], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 67558822], ["created_at", "2018-02-15 22:06:27.536629"], ["updated_at", "2018-02-15 22:06:27.536629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67558822], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 96720068], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 96720068], ["created_at", "2018-02-15 22:06:27.545081"], ["updated_at", "2018-02-15 22:06:27.545081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18754282], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18754282], ["created_at", "2018-02-15 22:06:27.550836"], ["updated_at", "2018-02-15 22:06:27.550836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 9301830], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 9301830], ["created_at", "2018-02-15 22:06:27.554949"], ["updated_at", "2018-02-15 22:06:27.554949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 86753166], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 86753166], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.559654"], ["updated_at", "2018-02-15 22:06:27.559654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55518716], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 55518716], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.565141"], ["updated_at", "2018-02-15 22:06:27.565141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55518716], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:06:27.582898"], ["updated_at", "2018-02-15 22:06:27.582898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.596189"], ["updated_at", "2018-02-15 22:06:27.596189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-15 22:06:27.601743"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (7.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2853148], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 2853148], ["created_at", "2018-02-15 22:06:27.637717"], ["updated_at", "2018-02-15 22:06:27.637717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47827073], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 47827073], ["created_at", "2018-02-15 22:06:27.647595"], ["updated_at", "2018-02-15 22:06:27.647595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47827073], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 43567135], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 43567135], ["created_at", "2018-02-15 22:06:27.654265"], ["updated_at", "2018-02-15 22:06:27.654265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 25361438], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 25361438], ["created_at", "2018-02-15 22:06:27.658647"], ["updated_at", "2018-02-15 22:06:27.658647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78050298], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 78050298], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "f79500bdd52a4ef2742043ec926a5ea6"], ["created_at", "2018-02-15 22:06:27.663886"], ["updated_at", "2018-02-15 22:06:27.663886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1543953], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1543953], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "b3d913878a825357173e29ff5767cba9"], ["created_at", "2018-02-15 22:06:27.669666"], ["updated_at", "2018-02-15 22:06:27.669666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1543953], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36109146], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36109146], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "f9ff1f31659351d2a1bdb5e244437773"], ["created_at", "2018-02-15 22:06:27.675871"], ["updated_at", "2018-02-15 22:06:27.675871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30320845], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30320845], ["name", "Cool Term"], ["start_at", "2018-02-13 22:06:27.679946"], ["end_at", "2018-02-18 22:06:27.680028"], ["workflow_state", "active"], ["sis_id", "66eba99c5719dfebb54b3e327c4b7288"], ["created_at", "2018-02-15 22:06:27.688321"], ["updated_at", "2018-02-15 22:06:27.688321"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72850267], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72850267], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "inactive"], ["sis_id", "f06cb407fd9667d5e845b057eae5179f"], ["created_at", "2018-02-15 22:06:27.691222"], ["updated_at", "2018-02-15 22:06:27.691222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40295545], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40295545], ["name", "Cool Term"], ["start_at", "2017-12-15 22:06:27.692317"], ["end_at", "2018-01-15 22:06:27.692387"], ["workflow_state", "active"], ["sis_id", "9c42bdf0ca8cdea18944a03726d0294e"], ["created_at", "2018-02-15 22:06:27.693425"], ["updated_at", "2018-02-15 22:06:27.693425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49698848], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49698848], ["name", "Cool Term"], ["start_at", "2018-08-15 22:06:27.694363"], ["end_at", "2019-02-15 22:06:27.694412"], ["workflow_state", "active"], ["sis_id", "dc598fd3666d3356c7a1f907ffbd1335"], ["created_at", "2018-02-15 22:06:27.695391"], ["updated_at", "2018-02-15 22:06:27.695391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:06:27.696458' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:06:27.696579' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:06:27.704423"], ["updated_at", "2018-02-15 22:06:27.704423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "0be04d505c99384db133b8760eb4ab3c"], ["created_at", "2018-02-15 22:06:27.711779"], ["updated_at", "2018-02-15 22:06:27.711779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-15 22:06:27.715043"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 44997440], ["LIMIT", 1]] SQL (4.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 44997440], ["sis_id", "a04a597fc2842b38e9abae238b7c9261"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.732209"], ["updated_at", "2018-02-15 22:06:27.732209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29708722], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 29708722], ["sis_id", "b20168a0f32272b8fd49da5f11155a9b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.749060"], ["updated_at", "2018-02-15 22:06:27.749060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29708722], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 64428856], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 64428856], ["sis_id", "70ae0790fe55e9374f1afc073513d91c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.757308"], ["updated_at", "2018-02-15 22:06:27.757308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65327627], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65327627], ["sis_id", "a428a17e44941742f983706ba5b9c5ab"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.762874"], ["updated_at", "2018-02-15 22:06:27.762874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:06:27.770692','2018-02-15 22:06:27.770692'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:06:27.770692','2018-02-15 22:06:27.770692') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.9ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-15 22:06:27.780011','2018-02-15 22:06:27.780011'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-15 22:06:27.780011','2018-02-15 22:06:27.780011') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:06:27.795693','2018-02-15 22:06:27.795693'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:06:27.795693','2018-02-15 22:06:27.795693') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:06:27.805370','2018-02-15 22:06:27.805370'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:06:27.805370','2018-02-15 22:06:27.805370') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.3ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-15 22:06:27.814722','2018-02-15 22:06:27.814722'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-15 22:06:27.814722','2018-02-15 22:06:27.814722') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:06:27.821878','2018-02-15 22:06:27.821878'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:06:27.821878','2018-02-15 22:06:27.821878') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-15 22:06:27.829108','2018-02-15 22:06:27.829108') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:06:27.846602','2018-02-15 22:06:27.846602'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:06:27.846602','2018-02-15 22:06:27.846602') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:06:27.848309','2018-02-15 22:06:27.848309'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:06:27.848309','2018-02-15 22:06:27.848309') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.0ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:06:27.865192','2018-02-15 22:06:27.865192'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:06:27.865192','2018-02-15 22:06:27.865192') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-08 22:06:27.877740"], ["graded_at", "2018-02-14 22:06:27.877844"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.879180"], ["updated_at", "2018-02-15 22:06:27.879180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-08 22:06:27.885301"], ["graded_at", "2018-02-14 22:06:27.885396"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.886416"], ["updated_at", "2018-02-15 22:06:27.886416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-08 22:06:27.900329"], ["graded_at", "2018-02-14 22:06:27.900468"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.901587"], ["updated_at", "2018-02-15 22:06:27.901587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-08 22:06:27.905809"], ["graded_at", "2018-02-14 22:06:27.905891"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.906826"], ["updated_at", "2018-02-15 22:06:27.906826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-08 22:06:27.912405"], ["graded_at", "2018-02-14 22:06:27.912491"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.913538"], ["updated_at", "2018-02-15 22:06:27.913538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] Performing GoodJob (Job ID: 67f9ca05-b9a5-4e28-a38c-59a36b430ba4) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.349841"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:08:17.364898"], ["updated_at", "2018-02-15 22:08:17.364898"]] [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.6ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (1.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.370689"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.375403"], ["id", 20]] [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] Performed GoodJob (Job ID: 67f9ca05-b9a5-4e28-a38c-59a36b430ba4) from Async(default) in 27.51ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] Performing BadJob (Job ID: 24eddbc0-5d0a-4a85-8f88-ec80a46b1e63) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.383808"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:08:17.384178"], ["updated_at", "2018-02-15 22:08:17.384178"]] [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:08:17.385844"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:08:17.386117"], ["id", 21]] [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] Error performing BadJob (Job ID: 24eddbc0-5d0a-4a85-8f88-ec80a46b1e63) from Async(default) in 3.99ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] Performing CanvasSync::Jobs::ReportChecker (Job ID: 16f7e499-97f2-4492-b2a8-a1227050580a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.392971"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.393360"], ["updated_at", "2018-02-15 22:08:17.393360"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 22]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] Performed CanvasSync::Jobs::ReportChecker (Job ID: 16f7e499-97f2-4492-b2a8-a1227050580a) from Async(default) in 7.31ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7002501f-410b-4bff-b9d9-b7001e416a0d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.403461"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.403795"], ["updated_at", "2018-02-15 22:08:17.403795"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: af0dbcff-3e8c-407c-bada-c0cf9fbd695b) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 23]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7002501f-410b-4bff-b9d9-b7001e416a0d) from Async(default) in 4.99ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Performing CanvasSync::Jobs::ReportChecker (Job ID: 43403ae3-6985-4aef-b09a-fc60ba5a0acf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.411573"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.411881"], ["updated_at", "2018-02-15 22:08:17.411881"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:08:17.414167"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:08:17.414410"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 43403ae3-6985-4aef-b09a-fc60ba5a0acf) from Async(default) in 4.74ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.420425"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.420832"], ["updated_at", "2018-02-15 22:08:17.420832"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-15 22:08:17.422934"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.451871"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.452414"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb) from Async(default) in 33.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Performing CanvasSync::Jobs::ReportStarter (Job ID: 875a82b8-8f41-40cd-a153-990095822425) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.457855"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-15 22:08:17.458197"], ["updated_at", "2018-02-15 22:08:17.458197"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2a21563d-7e8e-4b3d-91da-53514d7800d2) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.460835"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.461148"], ["id", 26]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Performed CanvasSync::Jobs::ReportStarter (Job ID: 875a82b8-8f41-40cd-a153-990095822425) from Async(default) in 4.74ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] Performing CanvasSync::Jobs::ReportStarter (Job ID: de360250-cb34-4fc2-a0e3-744bf2c2c53e) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.465960"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:08:17.466326"], ["updated_at", "2018-02-15 22:08:17.466326"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.468610"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.468904"], ["id", 27]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] Performed CanvasSync::Jobs::ReportStarter (Job ID: de360250-cb34-4fc2-a0e3-744bf2c2c53e) from Async(default) in 4.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] Performing CanvasSync::Jobs::ReportStarter (Job ID: f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.474428"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:08:17.474908"], ["updated_at", "2018-02-15 22:08:17.474908"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.477539"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.477848"], ["id", 28]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] Performed CanvasSync::Jobs::ReportStarter (Job ID: f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e) from Async(default) in 4.91ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (11.9ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e0f1c90e-35e6-4b99-9114-6a8ad97b1f25) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.498775"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.499288"], ["updated_at", "2018-02-15 22:08:17.499288"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.515933"], ["updated_at", "2018-02-15 22:08:17.515933"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.519489"], ["updated_at", "2018-02-15 22:08:17.519489"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.522748"], ["updated_at", "2018-02-15 22:08:17.522748"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (8, 9, 10)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.524810"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.525139"], ["id", 29]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: e0f1c90e-35e6-4b99-9114-6a8ad97b1f25) from Async(default) in 27.72ms  (0.1ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 4f05d323-9b32-446f-88ca-5d4b035c5746) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.533719"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.534200"], ["updated_at", "2018-02-15 22:08:17.534200"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1e513f32-0661-4fde-a6ae-e0206f1763ce) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.537177"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.537528"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 4f05d323-9b32-446f-88ca-5d4b035c5746) from Async(default) in 5.22ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: be416dbc-1496-4895-962c-937a7ff05d1a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.543156"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.543582"], ["updated_at", "2018-02-15 22:08:17.543582"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5ae10e0c-b613-489f-bfe3-7b3db44decf6) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.546769"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.547165"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: be416dbc-1496-4895-962c-937a7ff05d1a) from Async(default) in 5.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d7050328-d563-4b2d-8f91-e1c4a32dac99) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.553168"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.553598"], ["updated_at", "2018-02-15 22:08:17.553598"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a601282a-d714-4faf-93dd-a9688b6ee811) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.558056"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.558379"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d7050328-d563-4b2d-8f91-e1c4a32dac99) from Async(default) in 6.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (3.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44858434], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44858434], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "832c41a23555b5478b8a99c46b2ca646"], ["created_at", "2018-02-15 22:08:17.586932"], ["updated_at", "2018-02-15 22:08:17.586932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7161498], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7161498], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "1703aa5389de797520681701da7b79e5"], ["created_at", "2018-02-15 22:08:17.589318"], ["updated_at", "2018-02-15 22:08:17.589318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25148181], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25148181], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "inactive"], ["sis_id", "2e67312b2942b5bb4f340f87439715f9"], ["created_at", "2018-02-15 22:08:17.591255"], ["updated_at", "2018-02-15 22:08:17.591255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2bed5db6-a5f1-4400-9533-69234e3cdf76) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] SQL (0.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.592703"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-15 22:08:17.593059"], ["updated_at", "2018-02-15 22:08:17.593059"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:08:17.595068' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:08:17.595248' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.596514"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.596808"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2bed5db6-a5f1-4400-9533-69234e3cdf76) from Async(default) in 5.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bd2ef532-05ec-4c59-9abd-02e8c9874680) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.602107"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-15 22:08:17.602542"], ["updated_at", "2018-02-15 22:08:17.602542"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.605205"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.605509"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bd2ef532-05ec-4c59-9abd-02e8c9874680) from Async(default) in 5.83ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 4b3ca27f-bbb7-40ef-865e-eff28ccbd977) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.620581"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.620990"], ["updated_at", "2018-02-15 22:08:17.620990"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:08:17.665714"], ["updated_at", "2018-02-15 22:08:17.665714"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-15 22:08:17.686273"], ["updated_at", "2018-02-15 22:08:17.686273"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (7, 8)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.691214"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.691559"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 4b3ca27f-bbb7-40ef-865e-eff28ccbd977) from Async(default) in 72.41ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e6677000-c5b6-43d8-adaa-3eee897482cb) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.697534"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.697975"], ["updated_at", "2018-02-15 22:08:17.697975"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8d43d1ca-7add-4152-8b14-70d7d3207c48) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.700650"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.700908"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e6677000-c5b6-43d8-adaa-3eee897482cb) from Async(default) in 4.73ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 60bf1a43-e2a1-4f94-b08d-6e0b9902da13) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.708322"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.708734"], ["updated_at", "2018-02-15 22:08:17.708734"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:08:17.715787"], ["updated_at", "2018-02-15 22:08:17.715787"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.718196"], ["updated_at", "2018-02-15 22:08:17.718196"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.721890"], ["updated_at", "2018-02-15 22:08:17.721890"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-15 22:08:17.725325"], ["updated_at", "2018-02-15 22:08:17.725325"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-15 22:08:17.730003"], ["updated_at", "2018-02-15 22:08:17.730003"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.739158"], ["updated_at", "2018-02-15 22:08:17.739158"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.740269"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.740662"], ["id", 37]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 60bf1a43-e2a1-4f94-b08d-6e0b9902da13) from Async(default) in 33.82ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 72b31fa1-506e-429c-9789-2b76353de7ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.746771"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.747156"], ["updated_at", "2018-02-15 22:08:17.747156"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 39176b51-5826-4df5-ba18-1ceb5aa1f87f) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.751053"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.751413"], ["id", 38]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 72b31fa1-506e-429c-9789-2b76353de7ff) from Async(default) in 6.12ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 48633818], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 48633818], ["role_name", "Cool Role"], ["canvas_role_id", 17881240], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.756632"], ["updated_at", "2018-02-15 22:08:17.756632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15469943], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 15469943], ["role_name", "Cool Role"], ["canvas_role_id", 18613652], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.765381"], ["updated_at", "2018-02-15 22:08:17.765381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15469943], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.773755"], ["updated_at", "2018-02-15 22:08:17.773755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 16745416], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.780347"], ["updated_at", "2018-02-15 22:08:17.780347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (2.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 14], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-15 22:08:17.790834"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (2.8ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.809355"], ["canvas_updated_at", "2018-02-14 22:08:17.809446"], ["created_at", "2018-02-15 22:08:17.813338"], ["updated_at", "2018-02-15 22:08:17.813338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.819253"], ["canvas_updated_at", "2018-02-14 22:08:17.819330"], ["created_at", "2018-02-15 22:08:17.820169"], ["updated_at", "2018-02-15 22:08:17.820169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.1ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.825639"], ["canvas_updated_at", "2018-02-14 22:08:17.825702"], ["created_at", "2018-02-15 22:08:17.826488"], ["updated_at", "2018-02-15 22:08:17.826488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.830804"], ["canvas_updated_at", "2018-02-14 22:08:17.830926"], ["created_at", "2018-02-15 22:08:17.831917"], ["updated_at", "2018-02-15 22:08:17.831917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (4.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-22 22:08:17.860970"], ["unlock_at", "2018-02-14 22:08:17.861088"], ["lock_at", "2018-03-08 22:08:17.861133"], ["created_at", "2018-02-15 22:08:17.866922"], ["updated_at", "2018-02-15 22:08:17.866922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-22 22:08:17.873312"], ["unlock_at", "2018-02-14 22:08:17.873442"], ["lock_at", "2018-03-08 22:08:17.873484"], ["created_at", "2018-02-15 22:08:17.874630"], ["updated_at", "2018-02-15 22:08:17.874630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-22 22:08:17.881770"], ["unlock_at", "2018-02-14 22:08:17.881896"], ["lock_at", "2018-03-08 22:08:17.881983"], ["created_at", "2018-02-15 22:08:17.882972"], ["updated_at", "2018-02-15 22:08:17.882972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-22 22:08:17.897759"], ["unlock_at", "2018-02-14 22:08:17.897868"], ["lock_at", "2018-03-08 22:08:17.897909"], ["created_at", "2018-02-15 22:08:17.899144"], ["updated_at", "2018-02-15 22:08:17.899144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (4.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37395867], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37395867], ["sis_id", "b1d1018ab3dc726f05bc6b3a16b2a343"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.917199"], ["end_date", "2018-03-08 22:08:17.917287"], ["created_at", "2018-02-15 22:08:17.922737"], ["updated_at", "2018-02-15 22:08:17.922737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6057878], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6057878], ["sis_id", "40ed8e507d53bbe991a76238153cc34b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.924544"], ["end_date", "2018-03-08 22:08:17.924612"], ["created_at", "2018-02-15 22:08:17.925488"], ["updated_at", "2018-02-15 22:08:17.925488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-22 22:08:17.926657"], ["unlock_at", "2018-02-14 22:08:17.926714"], ["lock_at", "2018-03-08 22:08:17.926754"], ["created_at", "2018-02-15 22:08:17.927597"], ["updated_at", "2018-02-15 22:08:17.927597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 12], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 6057878], ["context_type", "Course"], ["updated_at", "2018-02-15 22:08:17.929842"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6057878], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 10549549], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 10549549], ["sis_id", "a1237f4544063c68c62638d3b1841207"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.951825"], ["end_date", "2018-03-08 22:08:17.951937"], ["created_at", "2018-02-15 22:08:17.953263"], ["updated_at", "2018-02-15 22:08:17.953263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65130931], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 65130931], ["sis_id", "979b9634054fe99c6571f2f9be193db2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.959067"], ["end_date", "2018-03-08 22:08:17.959145"], ["created_at", "2018-02-15 22:08:17.960030"], ["updated_at", "2018-02-15 22:08:17.960030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65130931], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50766270], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50766270], ["sis_id", "f4783e1b489f526ecd04923cd92a0914"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.967429"], ["end_date", "2018-03-08 22:08:17.967502"], ["created_at", "2018-02-15 22:08:17.968518"], ["updated_at", "2018-02-15 22:08:17.968518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1238611], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1238611], ["sis_id", "3fa581fcafd142a60e4e053d4f12e24e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.972616"], ["end_date", "2018-03-08 22:08:17.972682"], ["created_at", "2018-02-15 22:08:17.973564"], ["updated_at", "2018-02-15 22:08:17.973564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21727173], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21727173], ["sis_id", "1a45b0383bba641a273585ac6b4fc0d7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.977310"], ["end_date", "2018-03-08 22:08:17.977374"], ["created_at", "2018-02-15 22:08:17.978153"], ["updated_at", "2018-02-15 22:08:17.978153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37352624], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37352624], ["sis_id", "f7f28c47bc025322464f1e0e06d77942"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.981513"], ["end_date", "2018-03-08 22:08:17.981574"], ["created_at", "2018-02-15 22:08:17.982367"], ["updated_at", "2018-02-15 22:08:17.982367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 77916622], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 77916622], ["sis_id", "4e80e51c45cd1db2579c43bfa3787c60"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.985846"], ["end_date", "2018-03-08 22:08:17.985908"], ["created_at", "2018-02-15 22:08:17.986803"], ["updated_at", "2018-02-15 22:08:17.986803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60600401], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60600401], ["sis_id", "79666f22a6245084bdcc20c901db9425"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.990658"], ["end_date", "2018-03-08 22:08:17.990754"], ["created_at", "2018-02-15 22:08:17.991695"], ["updated_at", "2018-02-15 22:08:17.991695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (4.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 38388886], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 38388886], ["created_at", "2018-02-15 22:08:18.024544"], ["updated_at", "2018-02-15 22:08:18.024544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99775346], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 99775346], ["created_at", "2018-02-15 22:08:18.030675"], ["updated_at", "2018-02-15 22:08:18.030675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99775346], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87558714], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87558714], ["created_at", "2018-02-15 22:08:18.037865"], ["updated_at", "2018-02-15 22:08:18.037865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 72012157], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 72012157], ["created_at", "2018-02-15 22:08:18.043003"], ["updated_at", "2018-02-15 22:08:18.043003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76511231], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76511231], ["created_at", "2018-02-15 22:08:18.048009"], ["updated_at", "2018-02-15 22:08:18.048009"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 38463545], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 38463545], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.059691"], ["updated_at", "2018-02-15 22:08:18.059691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62953604], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 62953604], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.074132"], ["updated_at", "2018-02-15 22:08:18.074132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62953604], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:08:18.087086"], ["updated_at", "2018-02-15 22:08:18.087086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.096714"], ["updated_at", "2018-02-15 22:08:18.096714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-15 22:08:18.101398"], ["id", 12]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (4.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64598336], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64598336], ["created_at", "2018-02-15 22:08:18.136909"], ["updated_at", "2018-02-15 22:08:18.136909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73132630], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 73132630], ["created_at", "2018-02-15 22:08:18.143586"], ["updated_at", "2018-02-15 22:08:18.143586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73132630], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 24804280], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 24804280], ["created_at", "2018-02-15 22:08:18.150279"], ["updated_at", "2018-02-15 22:08:18.150279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 5660518], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 5660518], ["created_at", "2018-02-15 22:08:18.162757"], ["updated_at", "2018-02-15 22:08:18.162757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (5.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-08 22:08:18.176413"], ["graded_at", "2018-02-14 22:08:18.176550"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.182873"], ["updated_at", "2018-02-15 22:08:18.182873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-08 22:08:18.188438"], ["graded_at", "2018-02-14 22:08:18.188512"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.189333"], ["updated_at", "2018-02-15 22:08:18.189333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-08 22:08:18.195038"], ["graded_at", "2018-02-14 22:08:18.195105"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.195901"], ["updated_at", "2018-02-15 22:08:18.195901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-08 22:08:18.199555"], ["graded_at", "2018-02-14 22:08:18.199631"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.200517"], ["updated_at", "2018-02-15 22:08:18.200517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-08 22:08:18.204803"], ["graded_at", "2018-02-14 22:08:18.204892"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.213097"], ["updated_at", "2018-02-15 22:08:18.213097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 42747932], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 42747932], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "50b7d154b493704fd490a7276cd87d4e"], ["created_at", "2018-02-15 22:08:18.219920"], ["updated_at", "2018-02-15 22:08:18.219920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7744036], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7744036], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "1b0be6c45b090aafd10c2bed2111b758"], ["created_at", "2018-02-15 22:08:18.227864"], ["updated_at", "2018-02-15 22:08:18.227864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7744036], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 57735157], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 57735157], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "d39e2a27cb2746ef912fadaf44833067"], ["created_at", "2018-02-15 22:08:18.234868"], ["updated_at", "2018-02-15 22:08:18.234868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68955391], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68955391], ["name", "Cool Term"], ["start_at", "2018-02-13 22:08:18.238664"], ["end_at", "2018-02-18 22:08:18.238732"], ["workflow_state", "active"], ["sis_id", "fbebaa9be8992d62ac6109a9fe1fde75"], ["created_at", "2018-02-15 22:08:18.239911"], ["updated_at", "2018-02-15 22:08:18.239911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35323592], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35323592], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "inactive"], ["sis_id", "5b1bb8a909aa8987986afe494a26386c"], ["created_at", "2018-02-15 22:08:18.241591"], ["updated_at", "2018-02-15 22:08:18.241591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94692810], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94692810], ["name", "Cool Term"], ["start_at", "2017-12-15 22:08:18.242486"], ["end_at", "2018-01-15 22:08:18.242538"], ["workflow_state", "active"], ["sis_id", "87d89bcb08d43fca68f77b8ebb949666"], ["created_at", "2018-02-15 22:08:18.243426"], ["updated_at", "2018-02-15 22:08:18.243426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38781348], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38781348], ["name", "Cool Term"], ["start_at", "2018-08-15 22:08:18.244368"], ["end_at", "2019-02-15 22:08:18.244423"], ["workflow_state", "active"], ["sis_id", "864a6c7b31ff8f4579d72d007b4347ef"], ["created_at", "2018-02-15 22:08:18.245645"], ["updated_at", "2018-02-15 22:08:18.245645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:08:18.246854' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:08:18.246986' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (1.4ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:08:18.260990"], ["updated_at", "2018-02-15 22:08:18.260990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "c6ddca35518ffedd79a3f610d0e55090"], ["created_at", "2018-02-15 22:08:18.267996"], ["updated_at", "2018-02-15 22:08:18.267996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-15 22:08:18.272482"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 15316243], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 15316243], ["sis_id", "56fadbf3566418d0310c68d9f2d199fa"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.291497"], ["updated_at", "2018-02-15 22:08:18.291497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53149050], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 53149050], ["sis_id", "aa0b010f97b7d64dc786f0eaa1d90b83"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.298494"], ["updated_at", "2018-02-15 22:08:18.298494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53149050], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88960990], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 88960990], ["sis_id", "1236abd56495fa12d91f67250e6592ff"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.315229"], ["updated_at", "2018-02-15 22:08:18.315229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65021385], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65021385], ["sis_id", "b0bf02d77e4deb1bbc047abe5d528036"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.320523"], ["updated_at", "2018-02-15 22:08:18.320523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:08:18.329403','2018-02-15 22:08:18.329403'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:08:18.329403','2018-02-15 22:08:18.329403') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-15 22:08:18.337701','2018-02-15 22:08:18.337701'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-15 22:08:18.337701','2018-02-15 22:08:18.337701') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:08:18.344913','2018-02-15 22:08:18.344913'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:08:18.344913','2018-02-15 22:08:18.344913') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:08:18.352510','2018-02-15 22:08:18.352510'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:08:18.352510','2018-02-15 22:08:18.352510') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-15 22:08:18.369533','2018-02-15 22:08:18.369533'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-15 22:08:18.369533','2018-02-15 22:08:18.369533') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:08:18.378681','2018-02-15 22:08:18.378681'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:08:18.378681','2018-02-15 22:08:18.378681') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-15 22:08:18.386313','2018-02-15 22:08:18.386313') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.3ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:08:18.397060','2018-02-15 22:08:18.397060'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:08:18.397060','2018-02-15 22:08:18.397060') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:08:18.398520','2018-02-15 22:08:18.398520'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:08:18.398520','2018-02-15 22:08:18.398520') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:08:18.423598','2018-02-15 22:08:18.423598'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:08:18.423598','2018-02-15 22:08:18.423598') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5] Performing GoodJob (Job ID: e0a980ff-6a2e-4abf-9b6a-820bed14bdf5) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.175963"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:16:00.193936"], ["updated_at", "2018-02-16 17:16:00.193936"]] [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.195786"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.196022"], ["id", 39]] [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [e0a980ff-6a2e-4abf-9b6a-820bed14bdf5] Performed GoodJob (Job ID: e0a980ff-6a2e-4abf-9b6a-820bed14bdf5) from Async(default) in 21.32ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47] Performing BadJob (Job ID: 1153d197-861d-48b7-aae2-92a637897e47) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.204378"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:16:00.204709"], ["updated_at", "2018-02-16 17:16:00.204709"]] [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:16:00.206271"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:16:00.206540"], ["id", 40]] [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [1153d197-861d-48b7-aae2-92a637897e47] Error performing BadJob (Job ID: 1153d197-861d-48b7-aae2-92a637897e47) from Async(default) in 3.89ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838] Performing CanvasSync::Jobs::ReportChecker (Job ID: e7b685fc-8078-4a11-bb1b-b378775cf838) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.212098"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.212414"], ["updated_at", "2018-02-16 17:16:00.212414"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 41]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e7b685fc-8078-4a11-bb1b-b378775cf838] Performed CanvasSync::Jobs::ReportChecker (Job ID: e7b685fc-8078-4a11-bb1b-b378775cf838) from Async(default) in 21.96ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13] Performing CanvasSync::Jobs::ReportChecker (Job ID: ea2e281f-06be-4f95-bad2-e80571e9cc13) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.247275"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.247714"], ["updated_at", "2018-02-16 17:16:00.247714"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8874763d-772f-4d6a-b6d0-de2f619fe5ca) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ea2e281f-06be-4f95-bad2-e80571e9cc13] Performed CanvasSync::Jobs::ReportChecker (Job ID: ea2e281f-06be-4f95-bad2-e80571e9cc13) from Async(default) in 7.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38] Performing CanvasSync::Jobs::ReportChecker (Job ID: 912304ed-7d26-45bd-893e-f99f4cbc6a38) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.258943"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.259281"], ["updated_at", "2018-02-16 17:16:00.259281"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:16:00.261574"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:16:00.261821"], ["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [912304ed-7d26-45bd-893e-f99f4cbc6a38] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 912304ed-7d26-45bd-893e-f99f4cbc6a38) from Async(default) in 4.85ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: b888d484-dcce-470c-b476-f71c177ef0eb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.267455"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.267905"], ["updated_at", "2018-02-16 17:16:00.267905"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:16:00.270099"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.317411"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.318008"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [b888d484-dcce-470c-b476-f71c177ef0eb] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: b888d484-dcce-470c-b476-f71c177ef0eb) from Async(default) in 52.42ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03] Performing CanvasSync::Jobs::ReportStarter (Job ID: 0dc3757c-7461-4bce-8054-00b8e4733a03) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.324632"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:16:00.325033"], ["updated_at", "2018-02-16 17:16:00.325033"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: aec7b3dd-8e32-4bff-891e-89f270bd7d9e) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.327961"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.328308"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [0dc3757c-7461-4bce-8054-00b8e4733a03] Performed CanvasSync::Jobs::ReportStarter (Job ID: 0dc3757c-7461-4bce-8054-00b8e4733a03) from Async(default) in 5.28ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30] Performing CanvasSync::Jobs::ReportStarter (Job ID: b3089480-0459-4eb4-b086-5c87f9b6af30) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.333502"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:16:00.333872"], ["updated_at", "2018-02-16 17:16:00.333872"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.336435"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.336732"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b3089480-0459-4eb4-b086-5c87f9b6af30] Performed CanvasSync::Jobs::ReportStarter (Job ID: b3089480-0459-4eb4-b086-5c87f9b6af30) from Async(default) in 4.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37] Performing CanvasSync::Jobs::ReportStarter (Job ID: 897a3263-27a1-49fb-8959-ffd86a106f37) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.342855"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:16:00.343264"], ["updated_at", "2018-02-16 17:16:00.343264"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.346116"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.346417"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [897a3263-27a1-49fb-8959-ffd86a106f37] Performed CanvasSync::Jobs::ReportStarter (Job ID: 897a3263-27a1-49fb-8959-ffd86a106f37) from Async(default) in 5.05ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (5.2ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 8148317f-d2a5-48e5-9362-2496daefcc2b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.365115"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.365679"], ["updated_at", "2018-02-16 17:16:00.365679"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.6ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.383254"], ["updated_at", "2018-02-16 17:16:00.383254"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.387037"], ["updated_at", "2018-02-16 17:16:00.387037"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.389559"], ["updated_at", "2018-02-16 17:16:00.389559"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (15, 16, 17)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.391417"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.391715"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [8148317f-d2a5-48e5-9362-2496daefcc2b] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 8148317f-d2a5-48e5-9362-2496daefcc2b) from Async(default) in 30.47ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d2540ab6-da65-491f-92be-92054b1374fb) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.400575"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.401011"], ["updated_at", "2018-02-16 17:16:00.401011"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3c925eff-0bcb-4db0-b991-7bcc1a7eb218) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.404376"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.404679"], ["id", 49]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d2540ab6-da65-491f-92be-92054b1374fb] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d2540ab6-da65-491f-92be-92054b1374fb) from Async(default) in 5.51ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 420e0dc7-b3aa-4d01-aecd-91c547b657e2) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.410418"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.410863"], ["updated_at", "2018-02-16 17:16:00.410863"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 280ab413-fbb8-43fa-92eb-7d0a89546ab3) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.413590"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.413914"], ["id", 50]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [420e0dc7-b3aa-4d01-aecd-91c547b657e2] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 420e0dc7-b3aa-4d01-aecd-91c547b657e2) from Async(default) in 4.91ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 7b786725-bae4-40a7-b67d-98758b3749fe) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.419146"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.421272"], ["updated_at", "2018-02-16 17:16:00.421272"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 163710d1-addb-498b-967a-1a22fd2324ad) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.424199"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.424530"], ["id", 51]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [7b786725-bae4-40a7-b67d-98758b3749fe] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 7b786725-bae4-40a7-b67d-98758b3749fe) from Async(default) in 6.86ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Term Exists (4.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50032873], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50032873], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "d9819a97cf4c54ceb48fe64cedf6dc00"], ["created_at", "2018-02-16 17:16:00.454051"], ["updated_at", "2018-02-16 17:16:00.454051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16209372], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16209372], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "737f33a32aeeaed1af04b21720ace75d"], ["created_at", "2018-02-16 17:16:00.457288"], ["updated_at", "2018-02-16 17:16:00.457288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34961929], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34961929], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "inactive"], ["sis_id", "e6b07ed2bee1ee13c057d67e7b3d6465"], ["created_at", "2018-02-16 17:16:00.459291"], ["updated_at", "2018-02-16 17:16:00.459291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 50891283-d5d1-4577-b714-722aedd8b3b2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.460812"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:16:00.461207"], ["updated_at", "2018-02-16 17:16:00.461207"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:16:00.463257' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:16:00.463432' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.464714"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.465047"], ["id", 52]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50891283-d5d1-4577-b714-722aedd8b3b2] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 50891283-d5d1-4577-b714-722aedd8b3b2) from Async(default) in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d69cef29-1ed6-4319-8fd8-d01a56295c29) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.471915"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:16:00.472388"], ["updated_at", "2018-02-16 17:16:00.472388"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.475236"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.475963"], ["id", 53]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d69cef29-1ed6-4319-8fd8-d01a56295c29] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d69cef29-1ed6-4319-8fd8-d01a56295c29) from Async(default) in 5.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (23.3ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 8e432279-2cd5-4b70-a1e6-002ce41ceb59) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.512738"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.513261"], ["updated_at", "2018-02-16 17:16:00.513261"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:16:00.546413"], ["updated_at", "2018-02-16 17:16:00.546413"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:16:00.566953"], ["updated_at", "2018-02-16 17:16:00.566953"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (13, 14)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.571721"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.572132"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [8e432279-2cd5-4b70-a1e6-002ce41ceb59] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 8e432279-2cd5-4b70-a1e6-002ce41ceb59) from Async(default) in 61.52ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.578395"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.578835"], ["updated_at", "2018-02-16 17:16:00.578835"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: b274f6be-3683-4423-a3ea-6cd72ef19347) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.581533"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.581863"], ["id", 55]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 9caf9d32-7b2d-42ca-b7e4-c20de4da1c0c) from Async(default) in 4.97ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: a686acb6-23d4-43dd-ab58-3f343b8813c1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.588791"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.589174"], ["updated_at", "2018-02-16 17:16:00.589174"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:16:00.594956"], ["updated_at", "2018-02-16 17:16:00.594956"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.597164"], ["updated_at", "2018-02-16 17:16:00.597164"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.599274"], ["updated_at", "2018-02-16 17:16:00.599274"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:16:00.604423"], ["updated_at", "2018-02-16 17:16:00.604423"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:16:00.607064"], ["updated_at", "2018-02-16 17:16:00.607064"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.7ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.617161"], ["updated_at", "2018-02-16 17:16:00.617161"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.618555"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.618931"], ["id", 56]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [a686acb6-23d4-43dd-ab58-3f343b8813c1] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: a686acb6-23d4-43dd-ab58-3f343b8813c1) from Async(default) in 31.63ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 34fbfb09-019e-4d96-9f9a-ad617edb9357) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:00.625463"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:00.625878"], ["updated_at", "2018-02-16 17:16:00.625878"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d8defbea-1897-4cd5-8824-c08907523bc4) to Async(default) at 2018-02-16 17:16:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:00.629553"], ["status", "success"], ["updated_at", "2018-02-16 17:16:00.629912"], ["id", 57]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [34fbfb09-019e-4d96-9f9a-ad617edb9357] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 34fbfb09-019e-4d96-9f9a-ad617edb9357) from Async(default) in 5.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 98634942], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 98634942], ["role_name", "Cool Role"], ["canvas_role_id", 36696592], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.635548"], ["updated_at", "2018-02-16 17:16:00.635548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 17163527], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 17163527], ["role_name", "Cool Role"], ["canvas_role_id", 33994730], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.660719"], ["updated_at", "2018-02-16 17:16:00.660719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (1.7ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 17163527], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.678018"], ["updated_at", "2018-02-16 17:16:00.678018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 71936396], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.685543"], ["updated_at", "2018-02-16 17:16:00.685543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 21], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:16:00.688628"], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (11.5ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:00.704613"], ["canvas_updated_at", "2018-02-15 17:16:00.704707"], ["created_at", "2018-02-16 17:16:00.717362"], ["updated_at", "2018-02-16 17:16:00.717362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:00.723421"], ["canvas_updated_at", "2018-02-15 17:16:00.723503"], ["created_at", "2018-02-16 17:16:00.724362"], ["updated_at", "2018-02-16 17:16:00.724362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:00.731492"], ["canvas_updated_at", "2018-02-15 17:16:00.731562"], ["created_at", "2018-02-16 17:16:00.732399"], ["updated_at", "2018-02-16 17:16:00.732399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:00.736775"], ["canvas_updated_at", "2018-02-15 17:16:00.736848"], ["created_at", "2018-02-16 17:16:00.737710"], ["updated_at", "2018-02-16 17:16:00.737710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (13.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:16:00.756189"], ["unlock_at", "2018-02-15 17:16:00.756296"], ["lock_at", "2018-03-09 17:16:00.756337"], ["created_at", "2018-02-16 17:16:00.770994"], ["updated_at", "2018-02-16 17:16:00.770994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:16:00.777903"], ["unlock_at", "2018-02-15 17:16:00.777992"], ["lock_at", "2018-03-09 17:16:00.778032"], ["created_at", "2018-02-16 17:16:00.780147"], ["updated_at", "2018-02-16 17:16:00.780147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:16:00.786978"], ["unlock_at", "2018-02-15 17:16:00.787062"], ["lock_at", "2018-03-09 17:16:00.787120"], ["created_at", "2018-02-16 17:16:00.788018"], ["updated_at", "2018-02-16 17:16:00.788018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:16:00.792263"], ["unlock_at", "2018-02-15 17:16:00.792334"], ["lock_at", "2018-03-09 17:16:00.792372"], ["created_at", "2018-02-16 17:16:00.793221"], ["updated_at", "2018-02-16 17:16:00.793221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (7.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60792956], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60792956], ["sis_id", "04d1eba9998be6bed02108138c724ca3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.808830"], ["end_date", "2018-03-09 17:16:00.808954"], ["created_at", "2018-02-16 17:16:00.821633"], ["updated_at", "2018-02-16 17:16:00.821633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88334011], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 88334011], ["sis_id", "651363e1ae320141e2aebd0e56299075"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.823671"], ["end_date", "2018-03-09 17:16:00.823758"], ["created_at", "2018-02-16 17:16:00.824827"], ["updated_at", "2018-02-16 17:16:00.824827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:16:00.826285"], ["unlock_at", "2018-02-15 17:16:00.826367"], ["lock_at", "2018-03-09 17:16:00.826411"], ["created_at", "2018-02-16 17:16:00.827372"], ["updated_at", "2018-02-16 17:16:00.827372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 19], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 88334011], ["context_type", "Course"], ["updated_at", "2018-02-16 17:16:00.829373"], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88334011], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 35543433], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 35543433], ["sis_id", "dbe83ef562cc29cf50e7fe02c134d17c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.847822"], ["end_date", "2018-03-09 17:16:00.847894"], ["created_at", "2018-02-16 17:16:00.848833"], ["updated_at", "2018-02-16 17:16:00.848833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21859942], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21859942], ["sis_id", "a02223d426328af3fc2f0317980a1256"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.854798"], ["end_date", "2018-03-09 17:16:00.854876"], ["created_at", "2018-02-16 17:16:00.855662"], ["updated_at", "2018-02-16 17:16:00.855662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21859942], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 14963354], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 14963354], ["sis_id", "20c739b899bf86ae0298913cd52faeb2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.861025"], ["end_date", "2018-03-09 17:16:00.861088"], ["created_at", "2018-02-16 17:16:00.861883"], ["updated_at", "2018-02-16 17:16:00.861883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 5547226], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 5547226], ["sis_id", "8357183c3af1ab91484aee9ecd64e69d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.866319"], ["end_date", "2018-03-09 17:16:00.866433"], ["created_at", "2018-02-16 17:16:00.867541"], ["updated_at", "2018-02-16 17:16:00.867541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 61777569], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 61777569], ["sis_id", "48762bc0b9861cb9ba3798f20588a7d8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.872790"], ["end_date", "2018-03-09 17:16:00.872911"], ["created_at", "2018-02-16 17:16:00.874228"], ["updated_at", "2018-02-16 17:16:00.874228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.9ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 69045346], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 69045346], ["sis_id", "349e49e1f401ec27383dddf0f09701be"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.886583"], ["end_date", "2018-03-09 17:16:00.886701"], ["created_at", "2018-02-16 17:16:00.888015"], ["updated_at", "2018-02-16 17:16:00.888015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 8857434], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 8857434], ["sis_id", "9586d18e16d820b36ae2ea6c4dbdda5e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.893070"], ["end_date", "2018-03-09 17:16:00.893142"], ["created_at", "2018-02-16 17:16:00.894021"], ["updated_at", "2018-02-16 17:16:00.894021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 94730290], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 94730290], ["sis_id", "da44b8954d5e153861a52e5e41392442"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:00.899763"], ["end_date", "2018-03-09 17:16:00.899881"], ["created_at", "2018-02-16 17:16:00.901106"], ["updated_at", "2018-02-16 17:16:00.901106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (6.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 65351437], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 65351437], ["created_at", "2018-02-16 17:16:00.926451"], ["updated_at", "2018-02-16 17:16:00.926451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 74184966], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 74184966], ["created_at", "2018-02-16 17:16:00.942710"], ["updated_at", "2018-02-16 17:16:00.942710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 74184966], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 42097702], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 42097702], ["created_at", "2018-02-16 17:16:00.951710"], ["updated_at", "2018-02-16 17:16:00.951710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 65823208], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 65823208], ["created_at", "2018-02-16 17:16:00.956594"], ["updated_at", "2018-02-16 17:16:00.956594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 52742775], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 52742775], ["created_at", "2018-02-16 17:16:00.961146"], ["updated_at", "2018-02-16 17:16:00.961146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43466872], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 43466872], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.969494"], ["updated_at", "2018-02-16 17:16:00.969494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55093906], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 55093906], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:00.975333"], ["updated_at", "2018-02-16 17:16:00.975333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55093906], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (3.0ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:16:00.992739"], ["updated_at", "2018-02-16 17:16:00.992739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:01.005590"], ["updated_at", "2018-02-16 17:16:01.005590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:16:01.010181"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (5.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 45773543], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 45773543], ["created_at", "2018-02-16 17:16:01.035794"], ["updated_at", "2018-02-16 17:16:01.035794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 5853821], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 5853821], ["created_at", "2018-02-16 17:16:01.051899"], ["updated_at", "2018-02-16 17:16:01.051899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 5853821], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 30169033], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 30169033], ["created_at", "2018-02-16 17:16:01.060153"], ["updated_at", "2018-02-16 17:16:01.060153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 37711175], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 37711175], ["created_at", "2018-02-16 17:16:01.064200"], ["updated_at", "2018-02-16 17:16:01.064200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (5.0ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:16:01.076068"], ["graded_at", "2018-02-15 17:16:01.076160"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:01.082335"], ["updated_at", "2018-02-16 17:16:01.082335"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:16:01.097402"], ["graded_at", "2018-02-15 17:16:01.097499"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:01.098507"], ["updated_at", "2018-02-16 17:16:01.098507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:16:01.105430"], ["graded_at", "2018-02-15 17:16:01.105504"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:01.106641"], ["updated_at", "2018-02-16 17:16:01.106641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:16:01.110885"], ["graded_at", "2018-02-15 17:16:01.110967"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:01.111873"], ["updated_at", "2018-02-16 17:16:01.111873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:16:01.115418"], ["graded_at", "2018-02-15 17:16:01.115502"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:01.116510"], ["updated_at", "2018-02-16 17:16:01.116510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 119248], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 119248], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "6209d599ccf73a2d80cea9bbcf01340a"], ["created_at", "2018-02-16 17:16:01.121442"], ["updated_at", "2018-02-16 17:16:01.121442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96918903], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 96918903], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "5e111ad562849284ecc593bd6fa6e06e"], ["created_at", "2018-02-16 17:16:01.126891"], ["updated_at", "2018-02-16 17:16:01.126891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (4.0ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 96918903], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63030789], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 63030789], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "8df353164b4564b1efc1e8e182e65387"], ["created_at", "2018-02-16 17:16:01.141300"], ["updated_at", "2018-02-16 17:16:01.141300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67295068], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67295068], ["name", "Cool Term"], ["start_at", "2018-02-14 17:16:01.145252"], ["end_at", "2018-02-19 17:16:01.145319"], ["workflow_state", "active"], ["sis_id", "ae6684b9c3db2d79d1ff44c5fa85b01b"], ["created_at", "2018-02-16 17:16:01.146647"], ["updated_at", "2018-02-16 17:16:01.146647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7337411], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7337411], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "inactive"], ["sis_id", "6981e396447a7d2d1ab0e1cd87fcfcf1"], ["created_at", "2018-02-16 17:16:01.150029"], ["updated_at", "2018-02-16 17:16:01.150029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5891640], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5891640], ["name", "Cool Term"], ["start_at", "2017-12-16 17:16:01.150994"], ["end_at", "2018-01-16 17:16:01.152888"], ["workflow_state", "active"], ["sis_id", "2444bbd14d179e714a6fc322f09a1e7c"], ["created_at", "2018-02-16 17:16:01.153923"], ["updated_at", "2018-02-16 17:16:01.153923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 54693617], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 54693617], ["name", "Cool Term"], ["start_at", "2018-08-16 17:16:01.154935"], ["end_at", "2019-02-16 17:16:01.154987"], ["workflow_state", "active"], ["sis_id", "4ce05cbbefa7c8be42bed49bf6d144cc"], ["created_at", "2018-02-16 17:16:01.156022"], ["updated_at", "2018-02-16 17:16:01.156022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:16:01.157014' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:16:01.157123' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:16:01.162412"], ["updated_at", "2018-02-16 17:16:01.162412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:15:58.447842"], ["end_at", "2018-02-19 17:15:58.448083"], ["workflow_state", "active"], ["sis_id", "07e971491dc267366d7c6b3469328e22"], ["created_at", "2018-02-16 17:16:01.167760"], ["updated_at", "2018-02-16 17:16:01.167760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:16:01.170716"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (3.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 23408193], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 23408193], ["sis_id", "250c9a283f8e7be094809cf97a3c5357"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:01.198000"], ["updated_at", "2018-02-16 17:16:01.198000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26498956], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 26498956], ["sis_id", "f522c5d428d0b019e4dd9ec80891488a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:01.204972"], ["updated_at", "2018-02-16 17:16:01.204972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26498956], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 49051942], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 49051942], ["sis_id", "b584aa4f9e18ab34f6211db3fa2aa956"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:01.211554"], ["updated_at", "2018-02-16 17:16:01.211554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 80252463], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 80252463], ["sis_id", "1e36ce9b678b9a39173bc4700ec52c75"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:01.215932"], ["updated_at", "2018-02-16 17:16:01.215932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (2.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:16:01.224334','2018-02-16 17:16:01.224334'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:16:01.224334','2018-02-16 17:16:01.224334') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:16:01.243516','2018-02-16 17:16:01.243516'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:16:01.243516','2018-02-16 17:16:01.243516') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:16:01.254167','2018-02-16 17:16:01.254167'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:16:01.254167','2018-02-16 17:16:01.254167') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:16:01.261729','2018-02-16 17:16:01.261729'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:16:01.261729','2018-02-16 17:16:01.261729') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:16:01.270597','2018-02-16 17:16:01.270597'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:16:01.270597','2018-02-16 17:16:01.270597') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:16:01.277584','2018-02-16 17:16:01.277584'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:16:01.277584','2018-02-16 17:16:01.277584') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:16:01.285335','2018-02-16 17:16:01.285335') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:16:01.307137','2018-02-16 17:16:01.307137'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:16:01.307137','2018-02-16 17:16:01.307137') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:16:01.311765','2018-02-16 17:16:01.311765'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:16:01.311765','2018-02-16 17:16:01.311765') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (120.8ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (379.5ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (15.8ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE  (3.7ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "default_assignment_name" character varying, "position" integer, "assignment_weighting_scheme" text, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")  (1.4ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (4.0ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (2.2ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (4.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.8ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.2ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.4ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (3.6ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (4.9ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.3ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (3.6ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.5ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.3ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.4ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (3.9ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE  (3.7ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180216171618)  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180215214227), (20180215220605), (20170915210836);   (3.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-16 17:16:37.764210"], ["updated_at", "2018-02-16 17:16:37.764210"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52] Performing GoodJob (Job ID: ef013136-e996-4e81-abf2-4a5b9336cf52) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.096979"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:16:38.112641"], ["updated_at", "2018-02-16 17:16:38.112641"]] [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.116038"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.116301"], ["id", 1]] [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [ef013136-e996-4e81-abf2-4a5b9336cf52] Performed GoodJob (Job ID: ef013136-e996-4e81-abf2-4a5b9336cf52) from Async(default) in 20.67ms  (0.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193] Performing BadJob (Job ID: 9a04d4b9-0ebd-479b-b12b-7decbc5fe193) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.124037"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:16:38.124430"], ["updated_at", "2018-02-16 17:16:38.124430"]] [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:16:38.126075"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:16:38.126376"], ["id", 2]] [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [9a04d4b9-0ebd-479b-b12b-7decbc5fe193] Error performing BadJob (Job ID: 9a04d4b9-0ebd-479b-b12b-7decbc5fe193) from Async(default) in 4.13ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8838504c-3467-4e11-8265-ba68bde51797) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.132737"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.133068"], ["updated_at", "2018-02-16 17:16:38.133068"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8838504c-3467-4e11-8265-ba68bde51797] Performed CanvasSync::Jobs::ReportChecker (Job ID: 8838504c-3467-4e11-8265-ba68bde51797) from Async(default) in 8.31ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9] Performing CanvasSync::Jobs::ReportChecker (Job ID: 55ef0d21-699e-407e-b771-3fce65f9a8f9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.144871"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.145226"], ["updated_at", "2018-02-16 17:16:38.145226"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 584af756-6541-441f-87fd-f22fdbbd9891) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [55ef0d21-699e-407e-b771-3fce65f9a8f9] Performed CanvasSync::Jobs::ReportChecker (Job ID: 55ef0d21-699e-407e-b771-3fce65f9a8f9) from Async(default) in 5.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8bf83071-a8ab-4b8b-bad0-f4d4661a4177) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.154779"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.155143"], ["updated_at", "2018-02-16 17:16:38.155143"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:16:38.165416"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:16:38.165762"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8bf83071-a8ab-4b8b-bad0-f4d4661a4177] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 8bf83071-a8ab-4b8b-bad0-f4d4661a4177) from Async(default) in 13.13ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 939e061c-0409-4ac9-aab1-661c2c6e415b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.171947"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.172347"], ["updated_at", "2018-02-16 17:16:38.172347"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:16:38.175533"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.201894"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.202405"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [939e061c-0409-4ac9-aab1-661c2c6e415b] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 939e061c-0409-4ac9-aab1-661c2c6e415b) from Async(default) in 32.13ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549] Performing CanvasSync::Jobs::ReportStarter (Job ID: 14e6adf9-5cb7-4e9c-93fc-c09f940c4549) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.208050"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:16:38.208458"], ["updated_at", "2018-02-16 17:16:38.208458"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f8e65e61-8509-458b-a288-df538b93df42) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.218523"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.218940"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [14e6adf9-5cb7-4e9c-93fc-c09f940c4549] Performed CanvasSync::Jobs::ReportStarter (Job ID: 14e6adf9-5cb7-4e9c-93fc-c09f940c4549) from Async(default) in 12.72ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de] Performing CanvasSync::Jobs::ReportStarter (Job ID: 3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.225186"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:16:38.225552"], ["updated_at", "2018-02-16 17:16:38.225552"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.228943"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.229233"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de] Performed CanvasSync::Jobs::ReportStarter (Job ID: 3eca0ac5-a9e8-4870-a7ac-6ea8fb99f6de) from Async(default) in 5.53ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 9054a542-0fc9-4a1a-91ae-62ad1571355a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.233779"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:16:38.234149"], ["updated_at", "2018-02-16 17:16:38.234149"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.236442"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.236731"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [9054a542-0fc9-4a1a-91ae-62ad1571355a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 9054a542-0fc9-4a1a-91ae-62ad1571355a) from Async(default) in 4.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 3002c893-250e-452b-8c8d-6ffb0968a8b5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.246101"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.246453"], ["updated_at", "2018-02-16 17:16:38.246453"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.261755"], ["updated_at", "2018-02-16 17:16:38.261755"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (2.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.272842"], ["updated_at", "2018-02-16 17:16:38.272842"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Load (0.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.276041"], ["updated_at", "2018-02-16 17:16:38.276041"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.277902"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.278239"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [3002c893-250e-452b-8c8d-6ffb0968a8b5] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 3002c893-250e-452b-8c8d-6ffb0968a8b5) from Async(default) in 33.56ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d97c8d0b-90ff-4509-a057-095c8a5b2ac5) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.289969"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.290488"], ["updated_at", "2018-02-16 17:16:38.290488"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1794c35c-f059-44b1-b866-a2fea98fdf16) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.293681"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.293950"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d97c8d0b-90ff-4509-a057-095c8a5b2ac5] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d97c8d0b-90ff-4509-a057-095c8a5b2ac5) from Async(default) in 5.27ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 00f3fbf4-1426-4e22-b963-b5c0bce9da14) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.298340"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.298687"], ["updated_at", "2018-02-16 17:16:38.298687"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f39a3d5d-5a64-449f-b324-7eaf81457ee8) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.301034"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.301323"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [00f3fbf4-1426-4e22-b963-b5c0bce9da14] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 00f3fbf4-1426-4e22-b963-b5c0bce9da14) from Async(default) in 4.27ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.305472"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.305766"], ["updated_at", "2018-02-16 17:16:38.305766"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 58d7a3d3-ba13-485a-9b56-48747013c362) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.308060"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.308443"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 1d9a39e8-9fa6-4f58-bebc-eed2a020ca0c) from Async(default) in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (1.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 23151785], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 23151785], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "c5af8db1715402f84e75466cc668f32a"], ["created_at", "2018-02-16 17:16:38.333328"], ["updated_at", "2018-02-16 17:16:38.333328"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25511965], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25511965], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "e15b7aa988ab1971880eb38704cf80f4"], ["created_at", "2018-02-16 17:16:38.337016"], ["updated_at", "2018-02-16 17:16:38.337016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4424510], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4424510], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "inactive"], ["sis_id", "2c5f2482a8b9269417b21e88c34ec995"], ["created_at", "2018-02-16 17:16:38.338919"], ["updated_at", "2018-02-16 17:16:38.338919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 96e41fdc-afa7-48c8-af45-c88dd50d9e7e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.340400"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:16:38.340750"], ["updated_at", "2018-02-16 17:16:38.340750"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e] Term Load (1.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:16:38.342630' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:16:38.343005' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.345639"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.346063"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [96e41fdc-afa7-48c8-af45-c88dd50d9e7e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 96e41fdc-afa7-48c8-af45-c88dd50d9e7e) from Async(default) in 7.29ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e25f39ee-bb36-4811-b402-c34a95b26c1e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.351726"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:16:38.352140"], ["updated_at", "2018-02-16 17:16:38.352140"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.353822"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.354045"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e25f39ee-bb36-4811-b402-c34a95b26c1e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e25f39ee-bb36-4811-b402-c34a95b26c1e) from Async(default) in 3.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 825b9945-3216-466a-8f9c-004512487686) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.362459"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.362879"], ["updated_at", "2018-02-16 17:16:38.362879"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] SQL (0.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:16:38.380647"], ["updated_at", "2018-02-16 17:16:38.380647"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:16:38.397436"], ["updated_at", "2018-02-16 17:16:38.397436"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.403582"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.403955"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [825b9945-3216-466a-8f9c-004512487686] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 825b9945-3216-466a-8f9c-004512487686) from Async(default) in 42.96ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6c5a323b-6bfa-4d00-882d-026264b67e5a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.409800"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.410185"], ["updated_at", "2018-02-16 17:16:38.410185"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 76ff22cb-8233-4eb6-922e-9e16b632d520) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.412986"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.413439"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6c5a323b-6bfa-4d00-882d-026264b67e5a] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6c5a323b-6bfa-4d00-882d-026264b67e5a) from Async(default) in 5.41ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: b952e2a1-f296-440e-b94f-451dd566bcd1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.419417"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.419805"], ["updated_at", "2018-02-16 17:16:38.419805"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:16:38.428185"], ["updated_at", "2018-02-16 17:16:38.428185"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.430771"], ["updated_at", "2018-02-16 17:16:38.430771"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.433004"], ["updated_at", "2018-02-16 17:16:38.433004"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:16:38.436058"], ["updated_at", "2018-02-16 17:16:38.436058"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:16:38.438518"], ["updated_at", "2018-02-16 17:16:38.438518"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Term Exists (1.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.446078"], ["updated_at", "2018-02-16 17:16:38.446078"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.450408"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.450809"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [b952e2a1-f296-440e-b94f-451dd566bcd1] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: b952e2a1-f296-440e-b94f-451dd566bcd1) from Async(default) in 33.09ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 99eee565-5695-40bf-93f2-ca854d9620e9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:16:38.457594"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:16:38.458006"], ["updated_at", "2018-02-16 17:16:38.458006"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3eb885c9-9b74-483c-9b34-59da615d410c) to Async(default) at 2018-02-16 17:17:08 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:16:38.461656"], ["status", "success"], ["updated_at", "2018-02-16 17:16:38.462014"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [99eee565-5695-40bf-93f2-ca854d9620e9] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 99eee565-5695-40bf-93f2-ca854d9620e9) from Async(default) in 5.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 16973437], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 16973437], ["role_name", "Cool Role"], ["canvas_role_id", 5101295], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.467503"], ["updated_at", "2018-02-16 17:16:38.467503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 18612100], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 18612100], ["role_name", "Cool Role"], ["canvas_role_id", 99280391], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.478168"], ["updated_at", "2018-02-16 17:16:38.478168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 18612100], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.486188"], ["updated_at", "2018-02-16 17:16:38.486188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 65472169], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.494271"], ["updated_at", "2018-02-16 17:16:38.494271"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:16:38.505457"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (2.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:38.524960"], ["canvas_updated_at", "2018-02-15 17:16:38.525076"], ["created_at", "2018-02-16 17:16:38.528657"], ["updated_at", "2018-02-16 17:16:38.528657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:38.534563"], ["canvas_updated_at", "2018-02-15 17:16:38.534640"], ["created_at", "2018-02-16 17:16:38.535596"], ["updated_at", "2018-02-16 17:16:38.535596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:38.543091"], ["canvas_updated_at", "2018-02-15 17:16:38.543177"], ["created_at", "2018-02-16 17:16:38.544139"], ["updated_at", "2018-02-16 17:16:38.544139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:16:38.557815"], ["canvas_updated_at", "2018-02-15 17:16:38.557942"], ["created_at", "2018-02-16 17:16:38.559202"], ["updated_at", "2018-02-16 17:16:38.559202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (2.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:16:38.579879"], ["unlock_at", "2018-02-15 17:16:38.579968"], ["lock_at", "2018-03-09 17:16:38.580028"], ["created_at", "2018-02-16 17:16:38.584197"], ["updated_at", "2018-02-16 17:16:38.584197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:16:38.590885"], ["unlock_at", "2018-02-15 17:16:38.590975"], ["lock_at", "2018-03-09 17:16:38.591012"], ["created_at", "2018-02-16 17:16:38.591871"], ["updated_at", "2018-02-16 17:16:38.591871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:16:38.599311"], ["unlock_at", "2018-02-15 17:16:38.599388"], ["lock_at", "2018-03-09 17:16:38.599436"], ["created_at", "2018-02-16 17:16:38.600555"], ["updated_at", "2018-02-16 17:16:38.600555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:16:38.618754"], ["unlock_at", "2018-02-15 17:16:38.618846"], ["lock_at", "2018-03-09 17:16:38.618891"], ["created_at", "2018-02-16 17:16:38.619975"], ["updated_at", "2018-02-16 17:16:38.619975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.9ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 17330278], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 17330278], ["sis_id", "7295f4d17e702332557b1685c8024b39"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.637513"], ["end_date", "2018-03-09 17:16:38.637593"], ["created_at", "2018-02-16 17:16:38.640685"], ["updated_at", "2018-02-16 17:16:38.640685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43410249], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43410249], ["sis_id", "11ced1156ba9ccd94abacbbb06b51778"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.642424"], ["end_date", "2018-03-09 17:16:38.642484"], ["created_at", "2018-02-16 17:16:38.643437"], ["updated_at", "2018-02-16 17:16:38.643437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:16:38.644861"], ["unlock_at", "2018-02-15 17:16:38.644955"], ["lock_at", "2018-03-09 17:16:38.644994"], ["created_at", "2018-02-16 17:16:38.645956"], ["updated_at", "2018-02-16 17:16:38.645956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 5], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 43410249], ["context_type", "Course"], ["updated_at", "2018-02-16 17:16:38.648120"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43410249], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 77286010], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 77286010], ["sis_id", "05bf16985a0592e5d75bf0578cb57474"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.673916"], ["end_date", "2018-03-09 17:16:38.674027"], ["created_at", "2018-02-16 17:16:38.675176"], ["updated_at", "2018-02-16 17:16:38.675176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 42724169], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 42724169], ["sis_id", "632ea8a655d47da47d4a3cd57d42bffe"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.682586"], ["end_date", "2018-03-09 17:16:38.682721"], ["created_at", "2018-02-16 17:16:38.683661"], ["updated_at", "2018-02-16 17:16:38.683661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 42724169], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 88474987], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 88474987], ["sis_id", "bb9456e438c41ed0c6780d0e8e4236d6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.691123"], ["end_date", "2018-03-09 17:16:38.691254"], ["created_at", "2018-02-16 17:16:38.692279"], ["updated_at", "2018-02-16 17:16:38.692279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74108553], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 74108553], ["sis_id", "c11c07421f8aec6b2a5342639d0ffd48"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.696582"], ["end_date", "2018-03-09 17:16:38.696678"], ["created_at", "2018-02-16 17:16:38.697651"], ["updated_at", "2018-02-16 17:16:38.697651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 8957044], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 8957044], ["sis_id", "8d9cf9fbd8a97b48a243d26239343bed"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.701615"], ["end_date", "2018-03-09 17:16:38.701692"], ["created_at", "2018-02-16 17:16:38.702803"], ["updated_at", "2018-02-16 17:16:38.702803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 51849257], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 51849257], ["sis_id", "164757cfa41148de936d00b2596321f0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.707496"], ["end_date", "2018-03-09 17:16:38.707572"], ["created_at", "2018-02-16 17:16:38.708568"], ["updated_at", "2018-02-16 17:16:38.708568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 64575353], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 64575353], ["sis_id", "3f4e9ba8acb776ef71cc9cf6679f9903"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.720373"], ["end_date", "2018-03-09 17:16:38.720458"], ["created_at", "2018-02-16 17:16:38.721486"], ["updated_at", "2018-02-16 17:16:38.721486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58001984], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58001984], ["sis_id", "b1fce479cc6b34abb4fcd72dd9b1e038"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:16:38.726923"], ["end_date", "2018-03-09 17:16:38.726999"], ["created_at", "2018-02-16 17:16:38.728310"], ["updated_at", "2018-02-16 17:16:38.728310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (2.9ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 89098427], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 89098427], ["created_at", "2018-02-16 17:16:38.772650"], ["updated_at", "2018-02-16 17:16:38.772650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 81809898], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 81809898], ["created_at", "2018-02-16 17:16:38.782750"], ["updated_at", "2018-02-16 17:16:38.782750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 81809898], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82621222], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 82621222], ["created_at", "2018-02-16 17:16:38.792774"], ["updated_at", "2018-02-16 17:16:38.792774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 16179733], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 16179733], ["created_at", "2018-02-16 17:16:38.798631"], ["updated_at", "2018-02-16 17:16:38.798631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 58795770], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 58795770], ["created_at", "2018-02-16 17:16:38.803972"], ["updated_at", "2018-02-16 17:16:38.803972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 30487107], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 30487107], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.811035"], ["updated_at", "2018-02-16 17:16:38.811035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 67500401], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 67500401], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.828120"], ["updated_at", "2018-02-16 17:16:38.828120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 67500401], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (8.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:16:38.854166"], ["updated_at", "2018-02-16 17:16:38.854166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:16:38.878321"], ["updated_at", "2018-02-16 17:16:38.878321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:16:38.884665"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.6ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76309211], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76309211], ["created_at", "2018-02-16 17:16:38.908126"], ["updated_at", "2018-02-16 17:16:38.908126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.8ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47821735], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 47821735], ["created_at", "2018-02-16 17:16:38.923202"], ["updated_at", "2018-02-16 17:16:38.923202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47821735], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 76930396], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 76930396], ["created_at", "2018-02-16 17:16:38.931278"], ["updated_at", "2018-02-16 17:16:38.931278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 17447735], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 17447735], ["created_at", "2018-02-16 17:16:38.937452"], ["updated_at", "2018-02-16 17:16:38.937452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (2.9ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:16:38.952477"], ["graded_at", "2018-02-15 17:16:38.952742"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:38.956931"], ["updated_at", "2018-02-16 17:16:38.956931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:16:38.964879"], ["graded_at", "2018-02-15 17:16:38.965006"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:38.966234"], ["updated_at", "2018-02-16 17:16:38.966234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (1.0ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:16:38.982530"], ["graded_at", "2018-02-15 17:16:38.982637"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:38.983636"], ["updated_at", "2018-02-16 17:16:38.983636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:16:38.989139"], ["graded_at", "2018-02-15 17:16:38.989228"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:38.993032"], ["updated_at", "2018-02-16 17:16:38.993032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:16:38.996894"], ["graded_at", "2018-02-15 17:16:38.996957"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:16:38.997871"], ["updated_at", "2018-02-16 17:16:38.997871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 20098318], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 20098318], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "0972f10542e3cd3ccc16f42e703d142c"], ["created_at", "2018-02-16 17:16:39.003285"], ["updated_at", "2018-02-16 17:16:39.003285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71449246], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71449246], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "230e8470cdfbe8bef7a5cdec8ee07159"], ["created_at", "2018-02-16 17:16:39.009779"], ["updated_at", "2018-02-16 17:16:39.009779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71449246], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 74740233], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 74740233], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "aab7b512b2c1f8a4a25095a0189d0803"], ["created_at", "2018-02-16 17:16:39.022728"], ["updated_at", "2018-02-16 17:16:39.022728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67444387], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67444387], ["name", "Cool Term"], ["start_at", "2018-02-14 17:16:39.027169"], ["end_at", "2018-02-19 17:16:39.027242"], ["workflow_state", "active"], ["sis_id", "a83ffb17a5b0c3feabdc8f8ac9cb470c"], ["created_at", "2018-02-16 17:16:39.028461"], ["updated_at", "2018-02-16 17:16:39.028461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38045722], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38045722], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "inactive"], ["sis_id", "38c88da3356c665664a6376bb6c4092d"], ["created_at", "2018-02-16 17:16:39.030415"], ["updated_at", "2018-02-16 17:16:39.030415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67817354], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67817354], ["name", "Cool Term"], ["start_at", "2017-12-16 17:16:39.032595"], ["end_at", "2018-01-16 17:16:39.032669"], ["workflow_state", "active"], ["sis_id", "2825b99359ffa954ff507f06f784b746"], ["created_at", "2018-02-16 17:16:39.033829"], ["updated_at", "2018-02-16 17:16:39.033829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49782108], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49782108], ["name", "Cool Term"], ["start_at", "2018-08-16 17:16:39.035040"], ["end_at", "2019-02-16 17:16:39.035094"], ["workflow_state", "active"], ["sis_id", "f414c8d907c8ac884bbc492b0f4472ae"], ["created_at", "2018-02-16 17:16:39.036157"], ["updated_at", "2018-02-16 17:16:39.036157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:16:39.037261' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:16:39.037487' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:16:39.043813"], ["updated_at", "2018-02-16 17:16:39.043813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:16:34.423238"], ["end_at", "2018-02-19 17:16:34.423411"], ["workflow_state", "active"], ["sis_id", "e80f62e889431991471f84d5aab5f06b"], ["created_at", "2018-02-16 17:16:39.049083"], ["updated_at", "2018-02-16 17:16:39.049083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:16:39.052027"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (3.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 87908625], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 87908625], ["sis_id", "0a9f6d77cdb5df304b8c83ab5b2498e8"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:39.076074"], ["updated_at", "2018-02-16 17:16:39.076074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 5767318], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 5767318], ["sis_id", "0b2b5e239a2c05f52f98ae9641f75036"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:39.083087"], ["updated_at", "2018-02-16 17:16:39.083087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 5767318], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 17925838], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 17925838], ["sis_id", "65da87e57f8b1907061ac0bf550482bf"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:39.089469"], ["updated_at", "2018-02-16 17:16:39.089469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 51729363], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 51729363], ["sis_id", "a40999d5fe3d8d0064c131b3f899ae32"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:16:39.094470"], ["updated_at", "2018-02-16 17:16:39.094470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:16:39.102585','2018-02-16 17:16:39.102585'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:16:39.102585','2018-02-16 17:16:39.102585') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (4.8ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:16:39.113208','2018-02-16 17:16:39.113208'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:16:39.113208','2018-02-16 17:16:39.113208') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:16:39.131007','2018-02-16 17:16:39.131007'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:16:39.131007','2018-02-16 17:16:39.131007') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:16:39.141037','2018-02-16 17:16:39.141037'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:16:39.141037','2018-02-16 17:16:39.141037') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:16:39.149470','2018-02-16 17:16:39.149470'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:16:39.149470','2018-02-16 17:16:39.149470') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:16:39.157254','2018-02-16 17:16:39.157254'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:16:39.157254','2018-02-16 17:16:39.157254') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:16:39.174965','2018-02-16 17:16:39.174965') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:16:39.189607','2018-02-16 17:16:39.189607'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:16:39.189607','2018-02-16 17:16:39.189607') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:16:39.191343','2018-02-16 17:16:39.191343'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:16:39.191343','2018-02-16 17:16:39.191343') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,NULL,NULL,'2018-02-16 17:16:39.202843','2018-02-16 17:16:39.202843'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,NULL,NULL,'2018-02-16 17:16:39.202843','2018-02-16 17:16:39.202843') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (12.8ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b] Performing GoodJob (Job ID: 318f5039-1754-431c-8c9f-5e2c1b6e4a1b) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.145317"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:18:56.162683"], ["updated_at", "2018-02-16 17:18:56.162683"]] [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.164857"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.165194"], ["id", 20]] [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [318f5039-1754-431c-8c9f-5e2c1b6e4a1b] Performed GoodJob (Job ID: 318f5039-1754-431c-8c9f-5e2c1b6e4a1b) from Async(default) in 22.5ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe] Performing BadJob (Job ID: 27781563-a95c-4523-83ae-227a9f75e5fe) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.174492"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:18:56.174853"], ["updated_at", "2018-02-16 17:18:56.174853"]] [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:18:56.181487"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:18:56.181779"], ["id", 21]] [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [27781563-a95c-4523-83ae-227a9f75e5fe] Error performing BadJob (Job ID: 27781563-a95c-4523-83ae-227a9f75e5fe) from Async(default) in 9.1ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a] Performing CanvasSync::Jobs::ReportChecker (Job ID: e6d5bace-bb67-4963-8599-0a9fe177ab0a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.187793"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.188160"], ["updated_at", "2018-02-16 17:18:56.188160"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 22]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6d5bace-bb67-4963-8599-0a9fe177ab0a] Performed CanvasSync::Jobs::ReportChecker (Job ID: e6d5bace-bb67-4963-8599-0a9fe177ab0a) from Async(default) in 7.48ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7fe8ed49-f146-4b02-a5e3-3473fe382ea7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.199155"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.199564"], ["updated_at", "2018-02-16 17:18:56.199564"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 048b1e24-c250-430e-b52b-6f13bf52d7b1) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 23]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7fe8ed49-f146-4b02-a5e3-3473fe382ea7] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7fe8ed49-f146-4b02-a5e3-3473fe382ea7) from Async(default) in 6.53ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f] Performing CanvasSync::Jobs::ReportChecker (Job ID: feb9adf7-7a8e-4a70-a9a9-c305ac267b4f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.218692"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.219237"], ["updated_at", "2018-02-16 17:18:56.219237"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:18:56.221753"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:18:56.222016"], ["id", 24]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [feb9adf7-7a8e-4a70-a9a9-c305ac267b4f] Error performing CanvasSync::Jobs::ReportChecker (Job ID: feb9adf7-7a8e-4a70-a9a9-c305ac267b4f) from Async(default) in 5.35ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: f568bb58-4752-4f02-a970-37d3dda8c055) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.228950"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.229275"], ["updated_at", "2018-02-16 17:18:56.229275"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:18:56.231087"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.264732"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.265262"], ["id", 25]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [f568bb58-4752-4f02-a970-37d3dda8c055] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: f568bb58-4752-4f02-a970-37d3dda8c055) from Async(default) in 38.09ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad] Performing CanvasSync::Jobs::ReportStarter (Job ID: d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.272150"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:18:56.272586"], ["updated_at", "2018-02-16 17:18:56.272586"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4d542920-d56f-4e28-980a-1f0c0c606a7f) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.275834"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.276170"], ["id", 26]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad] Performed CanvasSync::Jobs::ReportStarter (Job ID: d92dd7d5-cc38-4af2-b50e-b6d2c18b9cad) from Async(default) in 5.49ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7] Performing CanvasSync::Jobs::ReportStarter (Job ID: 92758847-1ef1-491a-9913-27eb45b240d7) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.280917"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:18:56.281288"], ["updated_at", "2018-02-16 17:18:56.281288"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.283680"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.284020"], ["id", 27]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92758847-1ef1-491a-9913-27eb45b240d7] Performed CanvasSync::Jobs::ReportStarter (Job ID: 92758847-1ef1-491a-9913-27eb45b240d7) from Async(default) in 4.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e] Performing CanvasSync::Jobs::ReportStarter (Job ID: d06e6ed3-f385-4101-abc3-1c828c4b754e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.288727"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:18:56.289142"], ["updated_at", "2018-02-16 17:18:56.289142"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.291544"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.291813"], ["id", 28]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d06e6ed3-f385-4101-abc3-1c828c4b754e] Performed CanvasSync::Jobs::ReportStarter (Job ID: d06e6ed3-f385-4101-abc3-1c828c4b754e) from Async(default) in 4.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (16.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e7bba1ca-825c-43c1-959f-a29b8ed4d145) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.315104"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.315619"], ["updated_at", "2018-02-16 17:18:56.315619"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.332638"], ["updated_at", "2018-02-16 17:18:56.332638"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.335852"], ["updated_at", "2018-02-16 17:18:56.335852"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.338273"], ["updated_at", "2018-02-16 17:18:56.338273"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (8, 9, 10)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.339798"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.340060"], ["id", 29]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e7bba1ca-825c-43c1-959f-a29b8ed4d145] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: e7bba1ca-825c-43c1-959f-a29b8ed4d145) from Async(default) in 26.17ms  (0.1ms) SELECT COUNT(*) FROM "admins"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 617fd54c-5523-4c7b-bfec-6f5d84d0d779) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.345544"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.345901"], ["updated_at", "2018-02-16 17:18:56.345901"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 103985ef-996a-4677-8709-590969e6ccf9) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.348287"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.348573"], ["id", 30]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [617fd54c-5523-4c7b-bfec-6f5d84d0d779] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 617fd54c-5523-4c7b-bfec-6f5d84d0d779) from Async(default) in 4.37ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6dd314c6-877c-4052-860a-049413a030c6) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.353651"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.354001"], ["updated_at", "2018-02-16 17:18:56.354001"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: cd3ab00f-fafd-468f-9484-631b244eb850) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.357130"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.357544"], ["id", 31]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6dd314c6-877c-4052-860a-049413a030c6] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6dd314c6-877c-4052-860a-049413a030c6) from Async(default) in 5.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 1e6ca920-96c8-47a5-9525-a0fcce22845d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.363110"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.363522"], ["updated_at", "2018-02-16 17:18:56.363522"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: cf5169ac-ddf7-4e5a-a7df-25a2d97cbb64) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.365902"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.366197"], ["id", 32]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [1e6ca920-96c8-47a5-9525-a0fcce22845d] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 1e6ca920-96c8-47a5-9525-a0fcce22845d) from Async(default) in 4.35ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 42353517], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 42353517], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "2b3dc55a9a1bfa9e63055909da0e088f"], ["created_at", "2018-02-16 17:18:56.389704"], ["updated_at", "2018-02-16 17:18:56.389704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4553870], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 4553870], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "1dd0cd04e0832d21926333e400f71c4e"], ["created_at", "2018-02-16 17:18:56.392149"], ["updated_at", "2018-02-16 17:18:56.392149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12291855], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 12291855], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "inactive"], ["sis_id", "a942d9198841883aeccbc57b9ca18295"], ["created_at", "2018-02-16 17:18:56.394035"], ["updated_at", "2018-02-16 17:18:56.394035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 1c647805-82a8-4246-a657-1c8fcaf6e5e1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.396658"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:18:56.397018"], ["updated_at", "2018-02-16 17:18:56.397018"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1] Term Load (0.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:18:56.399098' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:18:56.399330' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.401042"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.401386"], ["id", 33]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [1c647805-82a8-4246-a657-1c8fcaf6e5e1] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 1c647805-82a8-4246-a657-1c8fcaf6e5e1) from Async(default) in 6.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0bba63df-0c08-4b48-b8f4-836555824956) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.406206"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:18:56.406597"], ["updated_at", "2018-02-16 17:18:56.406597"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.408150"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.408360"], ["id", 34]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0bba63df-0c08-4b48-b8f4-836555824956] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0bba63df-0c08-4b48-b8f4-836555824956) from Async(default) in 3.46ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.4ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 5042ed19-e815-457a-b701-cddf86fe4ecb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.417582"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.418083"], ["updated_at", "2018-02-16 17:18:56.418083"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:18:56.437423"], ["updated_at", "2018-02-16 17:18:56.437423"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Role Exists (1.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:18:56.459294"], ["updated_at", "2018-02-16 17:18:56.459294"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (7, 8)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.463549"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.463838"], ["id", 35]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [5042ed19-e815-457a-b701-cddf86fe4ecb] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 5042ed19-e815-457a-b701-cddf86fe4ecb) from Async(default) in 47.59ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: badeba95-b915-4bfc-b71a-7808946bfb39) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.471876"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.472246"], ["updated_at", "2018-02-16 17:18:56.472246"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1091e9c9-ee66-4638-886e-5cdfe5af03d4) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.474803"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.475057"], ["id", 36]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [badeba95-b915-4bfc-b71a-7808946bfb39] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: badeba95-b915-4bfc-b71a-7808946bfb39) from Async(default) in 4.39ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: e7f6054a-a673-4fba-9372-031921f9eb44) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.480366"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.480706"], ["updated_at", "2018-02-16 17:18:56.480706"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:18:56.487613"], ["updated_at", "2018-02-16 17:18:56.487613"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.491425"], ["updated_at", "2018-02-16 17:18:56.491425"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.494252"], ["updated_at", "2018-02-16 17:18:56.494252"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:18:56.497391"], ["updated_at", "2018-02-16 17:18:56.497391"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:18:56.500106"], ["updated_at", "2018-02-16 17:18:56.500106"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Load (0.7ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.510351"], ["updated_at", "2018-02-16 17:18:56.510351"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.511554"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.511893"], ["id", 37]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [e7f6054a-a673-4fba-9372-031921f9eb44] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: e7f6054a-a673-4fba-9372-031921f9eb44) from Async(default) in 33.06ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 21118255-521d-4ba0-bc02-df03fad1fbc5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:18:56.517891"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:18:56.518300"], ["updated_at", "2018-02-16 17:18:56.518300"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 679d39b4-74a6-4664-9108-5238881b3771) to Async(default) at 2018-02-16 17:19:26 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:18:56.521999"], ["status", "success"], ["updated_at", "2018-02-16 17:18:56.522328"], ["id", 38]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [21118255-521d-4ba0-bc02-df03fad1fbc5] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 21118255-521d-4ba0-bc02-df03fad1fbc5) from Async(default) in 5.77ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 42162604], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 42162604], ["role_name", "Cool Role"], ["canvas_role_id", 96886752], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.528003"], ["updated_at", "2018-02-16 17:18:56.528003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 43233684], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 43233684], ["role_name", "Cool Role"], ["canvas_role_id", 95458591], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.539709"], ["updated_at", "2018-02-16 17:18:56.539709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 43233684], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.547966"], ["updated_at", "2018-02-16 17:18:56.547966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 60100961], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.555509"], ["updated_at", "2018-02-16 17:18:56.555509"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 14], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:18:56.566142"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (4.5ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:18:56.585853"], ["canvas_updated_at", "2018-02-15 17:18:56.585958"], ["created_at", "2018-02-16 17:18:56.591732"], ["updated_at", "2018-02-16 17:18:56.591732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:18:56.596951"], ["canvas_updated_at", "2018-02-15 17:18:56.597021"], ["created_at", "2018-02-16 17:18:56.597925"], ["updated_at", "2018-02-16 17:18:56.597925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:18:56.605341"], ["canvas_updated_at", "2018-02-15 17:18:56.605431"], ["created_at", "2018-02-16 17:18:56.606337"], ["updated_at", "2018-02-16 17:18:56.606337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:18:56.623181"], ["canvas_updated_at", "2018-02-15 17:18:56.623285"], ["created_at", "2018-02-16 17:18:56.624351"], ["updated_at", "2018-02-16 17:18:56.624351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (5.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:18:56.647185"], ["unlock_at", "2018-02-15 17:18:56.647262"], ["lock_at", "2018-03-09 17:18:56.647299"], ["created_at", "2018-02-16 17:18:56.654088"], ["updated_at", "2018-02-16 17:18:56.654088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:18:56.670054"], ["unlock_at", "2018-02-15 17:18:56.670186"], ["lock_at", "2018-03-09 17:18:56.670232"], ["created_at", "2018-02-16 17:18:56.671243"], ["updated_at", "2018-02-16 17:18:56.671243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:18:56.679128"], ["unlock_at", "2018-02-15 17:18:56.679207"], ["lock_at", "2018-03-09 17:18:56.679251"], ["created_at", "2018-02-16 17:18:56.680243"], ["updated_at", "2018-02-16 17:18:56.680243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:18:56.684813"], ["unlock_at", "2018-02-15 17:18:56.684969"], ["lock_at", "2018-03-09 17:18:56.685011"], ["created_at", "2018-02-16 17:18:56.686094"], ["updated_at", "2018-02-16 17:18:56.686094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (11.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 10077260], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 10077260], ["sis_id", "bc90fa1c000d418501a0f87806ba9e18"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.705849"], ["end_date", "2018-03-09 17:18:56.705949"], ["created_at", "2018-02-16 17:18:56.718631"], ["updated_at", "2018-02-16 17:18:56.718631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 57301804], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 57301804], ["sis_id", "5d592dac34513db7c1c38df8a4bf3e9c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.720443"], ["end_date", "2018-03-09 17:18:56.720522"], ["created_at", "2018-02-16 17:18:56.721598"], ["updated_at", "2018-02-16 17:18:56.721598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:18:56.722834"], ["unlock_at", "2018-02-15 17:18:56.722897"], ["lock_at", "2018-03-09 17:18:56.722959"], ["created_at", "2018-02-16 17:18:56.723849"], ["updated_at", "2018-02-16 17:18:56.723849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 12], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 57301804], ["context_type", "Course"], ["updated_at", "2018-02-16 17:18:56.725764"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 57301804], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 4759546], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 4759546], ["sis_id", "c53bb34e43f4137619a8713df7728933"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.741210"], ["end_date", "2018-03-09 17:18:56.741294"], ["created_at", "2018-02-16 17:18:56.742169"], ["updated_at", "2018-02-16 17:18:56.742169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 19034027], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 19034027], ["sis_id", "df1bd015a6c90a63481a28464c2299ea"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.747267"], ["end_date", "2018-03-09 17:18:56.747333"], ["created_at", "2018-02-16 17:18:56.748331"], ["updated_at", "2018-02-16 17:18:56.748331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 19034027], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 97448047], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 97448047], ["sis_id", "c3dadec4fa17d77002fe6c7f6afbbc73"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.755438"], ["end_date", "2018-03-09 17:18:56.755531"], ["created_at", "2018-02-16 17:18:56.756384"], ["updated_at", "2018-02-16 17:18:56.756384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 51922037], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 51922037], ["sis_id", "839fd5860d01cf1a6d72a816f049be40"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.760715"], ["end_date", "2018-03-09 17:18:56.760789"], ["created_at", "2018-02-16 17:18:56.761915"], ["updated_at", "2018-02-16 17:18:56.761915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 64551327], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 64551327], ["sis_id", "2efd085fba954b2ab2a7eb906e2f47c7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.766675"], ["end_date", "2018-03-09 17:18:56.766763"], ["created_at", "2018-02-16 17:18:56.767742"], ["updated_at", "2018-02-16 17:18:56.767742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 61308485], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 61308485], ["sis_id", "f9a95a0a74b0ad11d72bc860985267bd"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.779955"], ["end_date", "2018-03-09 17:18:56.780059"], ["created_at", "2018-02-16 17:18:56.781340"], ["updated_at", "2018-02-16 17:18:56.781340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11515341], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 11515341], ["sis_id", "7e5387f0fcc63ba94af567297703c2c9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.786581"], ["end_date", "2018-03-09 17:18:56.786652"], ["created_at", "2018-02-16 17:18:56.787551"], ["updated_at", "2018-02-16 17:18:56.787551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1078139], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1078139], ["sis_id", "73918e8952593dd0ef825210f1625cc9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:18:56.792842"], ["end_date", "2018-03-09 17:18:56.792912"], ["created_at", "2018-02-16 17:18:56.793758"], ["updated_at", "2018-02-16 17:18:56.793758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (5.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 86194783], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 86194783], ["created_at", "2018-02-16 17:18:56.817792"], ["updated_at", "2018-02-16 17:18:56.817792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 69443077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 69443077], ["created_at", "2018-02-16 17:18:56.825076"], ["updated_at", "2018-02-16 17:18:56.825076"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.3ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 69443077], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 84503843], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 84503843], ["created_at", "2018-02-16 17:18:56.841715"], ["updated_at", "2018-02-16 17:18:56.841715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 77919784], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 77919784], ["created_at", "2018-02-16 17:18:56.847987"], ["updated_at", "2018-02-16 17:18:56.847987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 37334119], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 37334119], ["created_at", "2018-02-16 17:18:56.852832"], ["updated_at", "2018-02-16 17:18:56.852832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 36114967], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 36114967], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.857373"], ["updated_at", "2018-02-16 17:18:56.857373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 53443288], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 53443288], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.863228"], ["updated_at", "2018-02-16 17:18:56.863228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 53443288], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:18:56.874602"], ["updated_at", "2018-02-16 17:18:56.874602"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:18:56.894980"], ["updated_at", "2018-02-16 17:18:56.894980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:18:56.901494"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Section Exists (4.8ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62217469], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62217469], ["created_at", "2018-02-16 17:18:56.941947"], ["updated_at", "2018-02-16 17:18:56.941947"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 86858264], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 86858264], ["created_at", "2018-02-16 17:18:56.951253"], ["updated_at", "2018-02-16 17:18:56.951253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 86858264], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 90346456], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 90346456], ["created_at", "2018-02-16 17:18:56.957823"], ["updated_at", "2018-02-16 17:18:56.957823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62453371], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62453371], ["created_at", "2018-02-16 17:18:56.962029"], ["updated_at", "2018-02-16 17:18:56.962029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (9.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:18:56.974520"], ["graded_at", "2018-02-15 17:18:56.974627"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:18:56.988586"], ["updated_at", "2018-02-16 17:18:56.988586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:18:56.995670"], ["graded_at", "2018-02-15 17:18:56.995760"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:18:56.996653"], ["updated_at", "2018-02-16 17:18:56.996653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:18:57.004307"], ["graded_at", "2018-02-15 17:18:57.004376"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:18:57.005157"], ["updated_at", "2018-02-16 17:18:57.005157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:18:57.008820"], ["graded_at", "2018-02-15 17:18:57.008893"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:18:57.009863"], ["updated_at", "2018-02-16 17:18:57.009863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:18:57.013526"], ["graded_at", "2018-02-15 17:18:57.013622"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:18:57.014479"], ["updated_at", "2018-02-16 17:18:57.014479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 21776825], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 21776825], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "3f4ff4e9dab44fe9f9dd15f99805d260"], ["created_at", "2018-02-16 17:18:57.019728"], ["updated_at", "2018-02-16 17:18:57.019728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27517747], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 27517747], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "2c4152e3bd89b390e52cd933b9b031e0"], ["created_at", "2018-02-16 17:18:57.025457"], ["updated_at", "2018-02-16 17:18:57.025457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 27517747], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18569876], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 18569876], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "50564781dbef8ffa8992197e17999b0b"], ["created_at", "2018-02-16 17:18:57.032331"], ["updated_at", "2018-02-16 17:18:57.032331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 45242918], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 45242918], ["name", "Cool Term"], ["start_at", "2018-02-14 17:18:57.045640"], ["end_at", "2018-02-19 17:18:57.045729"], ["workflow_state", "active"], ["sis_id", "7c627792f2e8d6e1f8bf0e3301726544"], ["created_at", "2018-02-16 17:18:57.047437"], ["updated_at", "2018-02-16 17:18:57.047437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 85803117], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 85803117], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "inactive"], ["sis_id", "fafbe8f39311b4579846ee57a6692a81"], ["created_at", "2018-02-16 17:18:57.049633"], ["updated_at", "2018-02-16 17:18:57.049633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35872009], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35872009], ["name", "Cool Term"], ["start_at", "2017-12-16 17:18:57.050766"], ["end_at", "2018-01-16 17:18:57.050830"], ["workflow_state", "active"], ["sis_id", "d4815dba5991bf6605957887e13f0880"], ["created_at", "2018-02-16 17:18:57.051863"], ["updated_at", "2018-02-16 17:18:57.051863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80433096], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 80433096], ["name", "Cool Term"], ["start_at", "2018-08-16 17:18:57.054128"], ["end_at", "2019-02-16 17:18:57.054208"], ["workflow_state", "active"], ["sis_id", "f77ce79f83c65a9dd4403d160d08405e"], ["created_at", "2018-02-16 17:18:57.055268"], ["updated_at", "2018-02-16 17:18:57.055268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:18:57.056328' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:18:57.056461' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:18:57.061777"], ["updated_at", "2018-02-16 17:18:57.061777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:18:55.126229"], ["end_at", "2018-02-19 17:18:55.126396"], ["workflow_state", "active"], ["sis_id", "6efd7b10519e0c3d1f1acb8f300090f4"], ["created_at", "2018-02-16 17:18:57.068044"], ["updated_at", "2018-02-16 17:18:57.068044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]] SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:18:57.071056"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (5.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88371259], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 88371259], ["sis_id", "33dd62c7ca909469052e15a47f74d02d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:18:57.097692"], ["updated_at", "2018-02-16 17:18:57.097692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 80936844], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 80936844], ["sis_id", "c1076abc4773173718a2b3624d5899ed"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:18:57.104688"], ["updated_at", "2018-02-16 17:18:57.104688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 80936844], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 70266290], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 70266290], ["sis_id", "f407a6213aa82a28ef1c581337ad2535"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:18:57.111070"], ["updated_at", "2018-02-16 17:18:57.111070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 13815865], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 13815865], ["sis_id", "a55ed04363e980092dc3b3c6260230b7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:18:57.115344"], ["updated_at", "2018-02-16 17:18:57.115344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:18:57.122596','2018-02-16 17:18:57.122596'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:18:57.122596','2018-02-16 17:18:57.122596') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:18:57.132027','2018-02-16 17:18:57.132027'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:18:57.132027','2018-02-16 17:18:57.132027') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:18:57.148577','2018-02-16 17:18:57.148577'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:18:57.148577','2018-02-16 17:18:57.148577') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:18:57.157253','2018-02-16 17:18:57.157253'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:18:57.157253','2018-02-16 17:18:57.157253') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:18:57.164938','2018-02-16 17:18:57.164938'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:18:57.164938','2018-02-16 17:18:57.164938') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:18:57.172418','2018-02-16 17:18:57.172418'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:18:57.172418','2018-02-16 17:18:57.172418') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.3ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:18:57.179854','2018-02-16 17:18:57.179854') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:18:57.200203','2018-02-16 17:18:57.200203'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:18:57.200203','2018-02-16 17:18:57.200203') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:18:57.202239','2018-02-16 17:18:57.202239'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:18:57.202239','2018-02-16 17:18:57.202239') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-16 17:18:57.220692','2018-02-16 17:18:57.220692'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-16 17:18:57.220692','2018-02-16 17:18:57.220692') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e] Performing GoodJob (Job ID: 098b1d11-02ef-4fca-a79a-0c59430bca8e) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.148803"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:19:13.158349"], ["updated_at", "2018-02-16 17:19:13.158349"]] [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.160177"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.160427"], ["id", 39]] [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [098b1d11-02ef-4fca-a79a-0c59430bca8e] Performed GoodJob (Job ID: 098b1d11-02ef-4fca-a79a-0c59430bca8e) from Async(default) in 13.14ms  (0.4ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78] Performing BadJob (Job ID: f902a09e-6de2-4198-b928-86b45b2b5c78) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.178846"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:19:13.179321"], ["updated_at", "2018-02-16 17:19:13.179321"]] [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:19:13.181302"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:19:13.181604"], ["id", 40]] [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f902a09e-6de2-4198-b928-86b45b2b5c78] Error performing BadJob (Job ID: f902a09e-6de2-4198-b928-86b45b2b5c78) from Async(default) in 4.62ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7] Performing CanvasSync::Jobs::ReportChecker (Job ID: 2f38a201-46fc-48fd-9b3f-8482467d56c7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.188818"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.189200"], ["updated_at", "2018-02-16 17:19:13.189200"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 41]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [2f38a201-46fc-48fd-9b3f-8482467d56c7] Performed CanvasSync::Jobs::ReportChecker (Job ID: 2f38a201-46fc-48fd-9b3f-8482467d56c7) from Async(default) in 7.86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825] Performing CanvasSync::Jobs::ReportChecker (Job ID: cc8c650c-797a-4464-a821-ccf1f595e825) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.199836"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.200173"], ["updated_at", "2018-02-16 17:19:13.200173"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fb54d6cf-6555-4fa2-a896-24a4298a1d67) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 42]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cc8c650c-797a-4464-a821-ccf1f595e825] Performed CanvasSync::Jobs::ReportChecker (Job ID: cc8c650c-797a-4464-a821-ccf1f595e825) from Async(default) in 5.03ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943] Performing CanvasSync::Jobs::ReportChecker (Job ID: 717a6b59-630f-49bc-9077-e0b687ff8943) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.207893"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.208215"], ["updated_at", "2018-02-16 17:19:13.208215"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:19:13.210263"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:19:13.210508"], ["id", 43]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [717a6b59-630f-49bc-9077-e0b687ff8943] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 717a6b59-630f-49bc-9077-e0b687ff8943) from Async(default) in 4.4ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 2a2f8568-5f3d-47fb-99a1-f0755d2ce469) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.215880"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.216255"], ["updated_at", "2018-02-16 17:19:13.216255"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:19:13.218228"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.246799"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.247363"], ["id", 44]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [2a2f8568-5f3d-47fb-99a1-f0755d2ce469] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 2a2f8568-5f3d-47fb-99a1-f0755d2ce469) from Async(default) in 33.16ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987] Performing CanvasSync::Jobs::ReportStarter (Job ID: 2d21fd0c-6407-4159-a40f-5d2d35873987) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.253104"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:19:13.253442"], ["updated_at", "2018-02-16 17:19:13.253442"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7c1f4eb4-fc61-4a65-8c30-16f04e66c0f4) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.256132"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.256464"], ["id", 45]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [2d21fd0c-6407-4159-a40f-5d2d35873987] Performed CanvasSync::Jobs::ReportStarter (Job ID: 2d21fd0c-6407-4159-a40f-5d2d35873987) from Async(default) in 4.85ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c] Performing CanvasSync::Jobs::ReportStarter (Job ID: 7432a108-bd1d-4c46-b220-dd965c139f4c) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.261052"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:19:13.261396"], ["updated_at", "2018-02-16 17:19:13.261396"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.263587"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.263842"], ["id", 46]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7432a108-bd1d-4c46-b220-dd965c139f4c] Performed CanvasSync::Jobs::ReportStarter (Job ID: 7432a108-bd1d-4c46-b220-dd965c139f4c) from Async(default) in 4.29ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2] Performing CanvasSync::Jobs::ReportStarter (Job ID: 8be305ad-b013-463d-9431-feddb60860d2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.269206"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:19:13.269617"], ["updated_at", "2018-02-16 17:19:13.269617"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.272303"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.272563"], ["id", 47]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [8be305ad-b013-463d-9431-feddb60860d2] Performed CanvasSync::Jobs::ReportStarter (Job ID: 8be305ad-b013-463d-9431-feddb60860d2) from Async(default) in 5.08ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 0f2f055b-52e2-4d47-9eeb-764427157490) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.293027"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.293489"], ["updated_at", "2018-02-16 17:19:13.293489"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.5ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.309753"], ["updated_at", "2018-02-16 17:19:13.309753"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.313616"], ["updated_at", "2018-02-16 17:19:13.313616"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.316792"], ["updated_at", "2018-02-16 17:19:13.316792"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (15, 16, 17)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.318587"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.318882"], ["id", 48]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0f2f055b-52e2-4d47-9eeb-764427157490] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 0f2f055b-52e2-4d47-9eeb-764427157490) from Async(default) in 27.16ms  (0.1ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 63fcf5e3-437b-4a65-9317-4fb638607b04) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.324417"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.324823"], ["updated_at", "2018-02-16 17:19:13.324823"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d1005c21-c1a7-4cb5-9dfd-dd32fbb7314c) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.327480"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.327750"], ["id", 49]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [63fcf5e3-437b-4a65-9317-4fb638607b04] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 63fcf5e3-437b-4a65-9317-4fb638607b04) from Async(default) in 4.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 3c911afc-d3c8-4487-9bc3-f800a9c8c026) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.333148"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.333570"], ["updated_at", "2018-02-16 17:19:13.333570"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3ef6b396-c5da-4b3a-8afe-6b258294ef36) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.336519"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.336863"], ["id", 50]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [3c911afc-d3c8-4487-9bc3-f800a9c8c026] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 3c911afc-d3c8-4487-9bc3-f800a9c8c026) from Async(default) in 5.23ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58064786-ae19-4b17-acbc-3378d22964c0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.342392"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.342887"], ["updated_at", "2018-02-16 17:19:13.342887"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9deab608-578f-4abc-b7c0-95ca8ea3dbf5) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.345712"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.346052"], ["id", 51]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58064786-ae19-4b17-acbc-3378d22964c0] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58064786-ae19-4b17-acbc-3378d22964c0) from Async(default) in 5.04ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71232032], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71232032], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "9b2cc736101d155bdbbef1ea81564e68"], ["created_at", "2018-02-16 17:19:13.369171"], ["updated_at", "2018-02-16 17:19:13.369171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 2056966], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 2056966], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "7afe92096c51318ea2e2c015354ed9c5"], ["created_at", "2018-02-16 17:19:13.371439"], ["updated_at", "2018-02-16 17:19:13.371439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 81608538], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 81608538], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "inactive"], ["sis_id", "ad1e0aca8649323472371762cf603e21"], ["created_at", "2018-02-16 17:19:13.374750"], ["updated_at", "2018-02-16 17:19:13.374750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7df01e22-e0e4-4a95-a51a-47dc2bd16a28) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.376211"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:19:13.376615"], ["updated_at", "2018-02-16 17:19:13.376615"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:19:13.378598' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:19:13.378778' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.380212"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.380702"], ["id", 52]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [7df01e22-e0e4-4a95-a51a-47dc2bd16a28] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 7df01e22-e0e4-4a95-a51a-47dc2bd16a28) from Async(default) in 6.12ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 20185649-b094-4c53-8276-0eed0549bf8a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.386120"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:19:13.386470"], ["updated_at", "2018-02-16 17:19:13.386470"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.388061"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.388333"], ["id", 53]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [20185649-b094-4c53-8276-0eed0549bf8a] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 20185649-b094-4c53-8276-0eed0549bf8a) from Async(default) in 5.58ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 003a5ca9-7ff8-4128-98a8-0d1a4c10cda9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.398345"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.398762"], ["updated_at", "2018-02-16 17:19:13.398762"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:19:13.428634"], ["updated_at", "2018-02-16 17:19:13.428634"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:19:13.438425"], ["updated_at", "2018-02-16 17:19:13.438425"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] SQL (0.3ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (13, 14)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.442987"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.443408"], ["id", 54]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [003a5ca9-7ff8-4128-98a8-0d1a4c10cda9] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 003a5ca9-7ff8-4128-98a8-0d1a4c10cda9) from Async(default) in 46.64ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: ab6c04a0-0c61-467d-94c8-dedca9a1f003) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.449886"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.450218"], ["updated_at", "2018-02-16 17:19:13.450218"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9a065267-db98-4b66-bf92-c3838a9955db) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.452690"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.452935"], ["id", 55]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [ab6c04a0-0c61-467d-94c8-dedca9a1f003] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: ab6c04a0-0c61-467d-94c8-dedca9a1f003) from Async(default) in 4.28ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: fb1f722d-8852-4f18-b24f-5a2aa63cb54f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.457700"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.458049"], ["updated_at", "2018-02-16 17:19:13.458049"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:19:13.464362"], ["updated_at", "2018-02-16 17:19:13.464362"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.466702"], ["updated_at", "2018-02-16 17:19:13.466702"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.469023"], ["updated_at", "2018-02-16 17:19:13.469023"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:19:13.472011"], ["updated_at", "2018-02-16 17:19:13.472011"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:19:13.474358"], ["updated_at", "2018-02-16 17:19:13.474358"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.476893"], ["updated_at", "2018-02-16 17:19:13.476893"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.478043"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.478532"], ["id", 56]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [fb1f722d-8852-4f18-b24f-5a2aa63cb54f] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: fb1f722d-8852-4f18-b24f-5a2aa63cb54f) from Async(default) in 22.42ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.5ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 5e5e2510-4c59-4415-932b-b5233fb3cd68) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:19:13.492384"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:19:13.492941"], ["updated_at", "2018-02-16 17:19:13.492941"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 83b4eb7f-5c5e-4bd5-b265-648e91a70247) to Async(default) at 2018-02-16 17:19:43 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:19:13.495710"], ["status", "success"], ["updated_at", "2018-02-16 17:19:13.496041"], ["id", 57]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [5e5e2510-4c59-4415-932b-b5233fb3cd68] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 5e5e2510-4c59-4415-932b-b5233fb3cd68) from Async(default) in 5.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 6279084], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 6279084], ["role_name", "Cool Role"], ["canvas_role_id", 3471492], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.502671"], ["updated_at", "2018-02-16 17:19:13.502671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 69274702], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 69274702], ["role_name", "Cool Role"], ["canvas_role_id", 53445777], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.512777"], ["updated_at", "2018-02-16 17:19:13.512777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 69274702], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.521309"], ["updated_at", "2018-02-16 17:19:13.521309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.9ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 7750374], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.533207"], ["updated_at", "2018-02-16 17:19:13.533207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 21], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:19:13.536931"], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (1.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:19:13.556578"], ["canvas_updated_at", "2018-02-15 17:19:13.556686"], ["created_at", "2018-02-16 17:19:13.559182"], ["updated_at", "2018-02-16 17:19:13.559182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:19:13.564421"], ["canvas_updated_at", "2018-02-15 17:19:13.564492"], ["created_at", "2018-02-16 17:19:13.565355"], ["updated_at", "2018-02-16 17:19:13.565355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:19:13.572552"], ["canvas_updated_at", "2018-02-15 17:19:13.572648"], ["created_at", "2018-02-16 17:19:13.573809"], ["updated_at", "2018-02-16 17:19:13.573809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:19:13.586473"], ["canvas_updated_at", "2018-02-15 17:19:13.586577"], ["created_at", "2018-02-16 17:19:13.587750"], ["updated_at", "2018-02-16 17:19:13.587750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:19:13.617424"], ["unlock_at", "2018-02-15 17:19:13.617525"], ["lock_at", "2018-03-09 17:19:13.617582"], ["created_at", "2018-02-16 17:19:13.621044"], ["updated_at", "2018-02-16 17:19:13.621044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:19:13.636693"], ["unlock_at", "2018-02-15 17:19:13.639429"], ["lock_at", "2018-03-09 17:19:13.639477"], ["created_at", "2018-02-16 17:19:13.641357"], ["updated_at", "2018-02-16 17:19:13.641357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:19:13.651868"], ["unlock_at", "2018-02-15 17:19:13.651951"], ["lock_at", "2018-03-09 17:19:13.652654"], ["created_at", "2018-02-16 17:19:13.653533"], ["updated_at", "2018-02-16 17:19:13.653533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:19:13.658479"], ["unlock_at", "2018-02-15 17:19:13.658553"], ["lock_at", "2018-03-09 17:19:13.658594"], ["created_at", "2018-02-16 17:19:13.659702"], ["updated_at", "2018-02-16 17:19:13.659702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 12719523], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 12719523], ["sis_id", "ca50e43f24c42719eab7b4a11b2d0625"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.697086"], ["end_date", "2018-03-09 17:19:13.697679"], ["created_at", "2018-02-16 17:19:13.700502"], ["updated_at", "2018-02-16 17:19:13.700502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73484901], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 73484901], ["sis_id", "95162a5eaa0d8454dea1b94b9a9d10c8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.702461"], ["end_date", "2018-03-09 17:19:13.702982"], ["created_at", "2018-02-16 17:19:13.704888"], ["updated_at", "2018-02-16 17:19:13.704888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:19:13.706942"], ["unlock_at", "2018-02-15 17:19:13.707007"], ["lock_at", "2018-03-09 17:19:13.707049"], ["created_at", "2018-02-16 17:19:13.708337"], ["updated_at", "2018-02-16 17:19:13.708337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 19], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 73484901], ["context_type", "Course"], ["updated_at", "2018-02-16 17:19:13.710956"], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73484901], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11449551], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 11449551], ["sis_id", "12801620feed1778fd8935fb118f2344"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.733461"], ["end_date", "2018-03-09 17:19:13.733569"], ["created_at", "2018-02-16 17:19:13.734592"], ["updated_at", "2018-02-16 17:19:13.734592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21718707], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21718707], ["sis_id", "5a49dd76686b37f7aa79e030f3efc55e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.740005"], ["end_date", "2018-03-09 17:19:13.740087"], ["created_at", "2018-02-16 17:19:13.740970"], ["updated_at", "2018-02-16 17:19:13.740970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21718707], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29653459], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 29653459], ["sis_id", "e4c37f5da410eff09b39ac606b02e551"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.747296"], ["end_date", "2018-03-09 17:19:13.747370"], ["created_at", "2018-02-16 17:19:13.748361"], ["updated_at", "2018-02-16 17:19:13.748361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 71755189], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 71755189], ["sis_id", "c0dcba973dadc01e7b9bfd0404b881a5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.753115"], ["end_date", "2018-03-09 17:19:13.753212"], ["created_at", "2018-02-16 17:19:13.754177"], ["updated_at", "2018-02-16 17:19:13.754177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58483410], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58483410], ["sis_id", "4f5f844fae97b9f8846832af6776df4d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.758438"], ["end_date", "2018-03-09 17:19:13.758514"], ["created_at", "2018-02-16 17:19:13.759412"], ["updated_at", "2018-02-16 17:19:13.759412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (2.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 3300302], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 3300302], ["sis_id", "f179ede5b1cb74d883901b0faa90824f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.764234"], ["end_date", "2018-03-09 17:19:13.764320"], ["created_at", "2018-02-16 17:19:13.771448"], ["updated_at", "2018-02-16 17:19:13.771448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23801800], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23801800], ["sis_id", "cd62f149cef30fd901c1db4f209eb3ba"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.778587"], ["end_date", "2018-03-09 17:19:13.778679"], ["created_at", "2018-02-16 17:19:13.779631"], ["updated_at", "2018-02-16 17:19:13.779631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11195160], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 11195160], ["sis_id", "7da8eed19530ecd569d0b16161a45531"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:19:13.784791"], ["end_date", "2018-03-09 17:19:13.784874"], ["created_at", "2018-02-16 17:19:13.785833"], ["updated_at", "2018-02-16 17:19:13.785833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 26925169], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 26925169], ["created_at", "2018-02-16 17:19:13.805333"], ["updated_at", "2018-02-16 17:19:13.805333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (2.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82833308], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 82833308], ["created_at", "2018-02-16 17:19:13.818858"], ["updated_at", "2018-02-16 17:19:13.818858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 82833308], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 65954864], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 65954864], ["created_at", "2018-02-16 17:19:13.826263"], ["updated_at", "2018-02-16 17:19:13.826263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 66166037], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 66166037], ["created_at", "2018-02-16 17:19:13.832108"], ["updated_at", "2018-02-16 17:19:13.832108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 97229625], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 97229625], ["created_at", "2018-02-16 17:19:13.837321"], ["updated_at", "2018-02-16 17:19:13.837321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 34616832], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 34616832], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.842379"], ["updated_at", "2018-02-16 17:19:13.842379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 23807962], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 23807962], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.848123"], ["updated_at", "2018-02-16 17:19:13.848123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 23807962], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:19:13.858566"], ["updated_at", "2018-02-16 17:19:13.858566"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:19:13.880094"], ["updated_at", "2018-02-16 17:19:13.880094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:19:13.886283"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 46511781], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 46511781], ["created_at", "2018-02-16 17:19:13.907086"], ["updated_at", "2018-02-16 17:19:13.907086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6691644], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 6691644], ["created_at", "2018-02-16 17:19:13.923401"], ["updated_at", "2018-02-16 17:19:13.923401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6691644], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 59798771], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 59798771], ["created_at", "2018-02-16 17:19:13.931227"], ["updated_at", "2018-02-16 17:19:13.931227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 65541772], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 65541772], ["created_at", "2018-02-16 17:19:13.936357"], ["updated_at", "2018-02-16 17:19:13.936357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (2.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:19:13.951892"], ["graded_at", "2018-02-15 17:19:13.952040"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:19:13.961579"], ["updated_at", "2018-02-16 17:19:13.961579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 15], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:19:13.971002"], ["graded_at", "2018-02-15 17:19:13.971095"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:19:13.972048"], ["updated_at", "2018-02-16 17:19:13.972048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:19:13.979486"], ["graded_at", "2018-02-15 17:19:13.979576"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:19:13.980616"], ["updated_at", "2018-02-16 17:19:13.980616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:19:13.984110"], ["graded_at", "2018-02-15 17:19:13.984175"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:19:13.984985"], ["updated_at", "2018-02-16 17:19:13.984985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:19:13.988163"], ["graded_at", "2018-02-15 17:19:13.988224"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:19:13.988989"], ["updated_at", "2018-02-16 17:19:13.988989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 20755200], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 20755200], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "d005f9dd2cd68873c02a9d73bdac6401"], ["created_at", "2018-02-16 17:19:13.993240"], ["updated_at", "2018-02-16 17:19:13.993240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 46], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 310987], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 310987], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "6c9e4f80df32da4394f5f08453426e75"], ["created_at", "2018-02-16 17:19:13.998993"], ["updated_at", "2018-02-16 17:19:13.998993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 310987], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 88779750], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 88779750], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "2a8d23f9e71714ada12c38d890561ef8"], ["created_at", "2018-02-16 17:19:14.007869"], ["updated_at", "2018-02-16 17:19:14.007869"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38185263], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38185263], ["name", "Cool Term"], ["start_at", "2018-02-14 17:19:14.020811"], ["end_at", "2018-02-19 17:19:14.020893"], ["workflow_state", "active"], ["sis_id", "fd43184d9fdd189d09895ff3d004268d"], ["created_at", "2018-02-16 17:19:14.022305"], ["updated_at", "2018-02-16 17:19:14.022305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 34514613], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 34514613], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "inactive"], ["sis_id", "effb795a19ca2c1121b84a022ac1aeaf"], ["created_at", "2018-02-16 17:19:14.024224"], ["updated_at", "2018-02-16 17:19:14.024224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67909066], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67909066], ["name", "Cool Term"], ["start_at", "2017-12-16 17:19:14.025158"], ["end_at", "2018-01-16 17:19:14.025215"], ["workflow_state", "active"], ["sis_id", "c4d9fdd10ba7647fea0b6bfac77cf706"], ["created_at", "2018-02-16 17:19:14.026383"], ["updated_at", "2018-02-16 17:19:14.026383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71169710], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71169710], ["name", "Cool Term"], ["start_at", "2018-08-16 17:19:14.028598"], ["end_at", "2019-02-16 17:19:14.028655"], ["workflow_state", "active"], ["sis_id", "832eb814152ad2eeb565b679a6569d98"], ["created_at", "2018-02-16 17:19:14.029713"], ["updated_at", "2018-02-16 17:19:14.029713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:19:14.030712' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:19:14.030821' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:19:14.037293"], ["updated_at", "2018-02-16 17:19:14.037293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:19:12.333264"], ["end_at", "2018-02-19 17:19:12.333453"], ["workflow_state", "active"], ["sis_id", "d9d68afe4ef6d548d464278f42cce54f"], ["created_at", "2018-02-16 17:19:14.042713"], ["updated_at", "2018-02-16 17:19:14.042713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 54], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:19:14.045534"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.1ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 28747477], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 28747477], ["sis_id", "80c109e532fea6441f098baf2bcf4f7b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:19:14.069716"], ["updated_at", "2018-02-16 17:19:14.069716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 81788638], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 81788638], ["sis_id", "d3e4bedca7c5247bc1fd4adf2d950b3e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:19:14.078754"], ["updated_at", "2018-02-16 17:19:14.078754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 81788638], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29305048], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 29305048], ["sis_id", "5322df2412892379fe18e5303d40b0b8"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:19:14.086337"], ["updated_at", "2018-02-16 17:19:14.086337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 17075914], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 17075914], ["sis_id", "1a8c2b6f31e359e1d3bccee9cad3a8bd"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:19:14.090782"], ["updated_at", "2018-02-16 17:19:14.090782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:19:14.098724','2018-02-16 17:19:14.098724'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:19:14.098724','2018-02-16 17:19:14.098724') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:19:14.119371','2018-02-16 17:19:14.119371'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:19:14.119371','2018-02-16 17:19:14.119371') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:19:14.129729','2018-02-16 17:19:14.129729'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:19:14.129729','2018-02-16 17:19:14.129729') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:19:14.137719','2018-02-16 17:19:14.137719'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:19:14.137719','2018-02-16 17:19:14.137719') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:19:14.145964','2018-02-16 17:19:14.145964'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:19:14.145964','2018-02-16 17:19:14.145964') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:19:14.153018','2018-02-16 17:19:14.153018'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:19:14.153018','2018-02-16 17:19:14.153018') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:19:14.160938','2018-02-16 17:19:14.160938') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.4ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:19:14.181346','2018-02-16 17:19:14.181346'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:19:14.181346','2018-02-16 17:19:14.181346') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:19:14.182947','2018-02-16 17:19:14.182947'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:19:14.182947','2018-02-16 17:19:14.182947') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-16 17:19:14.194029','2018-02-16 17:19:14.194029'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-16 17:19:14.194029','2018-02-16 17:19:14.194029') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.6ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996] Performing GoodJob (Job ID: 00386023-0d13-4ea9-9092-b79337ab1996) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.368787"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:20:23.385956"], ["updated_at", "2018-02-16 17:20:23.385956"]] [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.389136"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.389463"], ["id", 58]] [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [00386023-0d13-4ea9-9092-b79337ab1996] Performed GoodJob (Job ID: 00386023-0d13-4ea9-9092-b79337ab1996) from Async(default) in 22.13ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98] Performing BadJob (Job ID: db5e16ad-0565-4b2e-a7d4-f47434470c98) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.398931"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:20:23.399336"], ["updated_at", "2018-02-16 17:20:23.399336"]] [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:20:23.401141"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:20:23.401483"], ["id", 59]] [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [db5e16ad-0565-4b2e-a7d4-f47434470c98] Error performing BadJob (Job ID: db5e16ad-0565-4b2e-a7d4-f47434470c98) from Async(default) in 4.29ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327] Performing CanvasSync::Jobs::ReportChecker (Job ID: ab6cd526-de4f-4473-870b-79e1594ca327) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.407469"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.407821"], ["updated_at", "2018-02-16 17:20:23.407821"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 60]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ab6cd526-de4f-4473-870b-79e1594ca327] Performed CanvasSync::Jobs::ReportChecker (Job ID: ab6cd526-de4f-4473-870b-79e1594ca327) from Async(default) in 7.17ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96] Performing CanvasSync::Jobs::ReportChecker (Job ID: cba4dba3-12cc-4ddc-ac91-467263645e96) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.418120"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.418499"], ["updated_at", "2018-02-16 17:20:23.418499"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4921836f-431c-4534-8062-fcc7ac292499) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 61]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [cba4dba3-12cc-4ddc-ac91-467263645e96] Performed CanvasSync::Jobs::ReportChecker (Job ID: cba4dba3-12cc-4ddc-ac91-467263645e96) from Async(default) in 5.51ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904] Performing CanvasSync::Jobs::ReportChecker (Job ID: 9e4d4140-9e31-4566-b05a-5a5075a0c904) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.428604"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.429061"], ["updated_at", "2018-02-16 17:20:23.429061"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:20:23.438669"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:20:23.439029"], ["id", 62]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [9e4d4140-9e31-4566-b05a-5a5075a0c904] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 9e4d4140-9e31-4566-b05a-5a5075a0c904) from Async(default) in 12.66ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: deba6840-57b6-4904-992f-17f094138608) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.445361"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.445745"], ["updated_at", "2018-02-16 17:20:23.445745"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (1.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:20:23.448973"], ["id", 63]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.470868"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.471376"], ["id", 63]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [deba6840-57b6-4904-992f-17f094138608] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: deba6840-57b6-4904-992f-17f094138608) from Async(default) in 27.79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d] Performing CanvasSync::Jobs::ReportStarter (Job ID: 1dcca89d-da2e-41e4-8135-666f6be7d79d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.477682"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:20:23.478080"], ["updated_at", "2018-02-16 17:20:23.478080"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2d1b6263-86d9-4be2-b44d-ef649d9e66b3) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.480939"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.481359"], ["id", 64]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [1dcca89d-da2e-41e4-8135-666f6be7d79d] Performed CanvasSync::Jobs::ReportStarter (Job ID: 1dcca89d-da2e-41e4-8135-666f6be7d79d) from Async(default) in 5.21ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75] Performing CanvasSync::Jobs::ReportStarter (Job ID: c54c0aea-2779-4e96-a025-042c6460bc75) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.494553"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:20:23.495039"], ["updated_at", "2018-02-16 17:20:23.495039"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.497415"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.497681"], ["id", 65]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c54c0aea-2779-4e96-a025-042c6460bc75] Performed CanvasSync::Jobs::ReportStarter (Job ID: c54c0aea-2779-4e96-a025-042c6460bc75) from Async(default) in 4.69ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88] Performing CanvasSync::Jobs::ReportStarter (Job ID: 7e0dd89c-2780-481f-b87e-7c69f86a7a88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.503721"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:20:23.504140"], ["updated_at", "2018-02-16 17:20:23.504140"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.506761"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.510754"], ["id", 66]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [7e0dd89c-2780-481f-b87e-7c69f86a7a88] Performed CanvasSync::Jobs::ReportStarter (Job ID: 7e0dd89c-2780-481f-b87e-7c69f86a7a88) from Async(default) in 8.53ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 2d0dcdab-40e6-413c-a7ea-407e7d36b98c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.519189"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.519525"], ["updated_at", "2018-02-16 17:20:23.519525"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.542753"], ["updated_at", "2018-02-16 17:20:23.542753"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.545840"], ["updated_at", "2018-02-16 17:20:23.545840"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.549681"], ["updated_at", "2018-02-16 17:20:23.549681"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (22, 23, 24)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.551307"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.551582"], ["id", 67]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [2d0dcdab-40e6-413c-a7ea-407e7d36b98c] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 2d0dcdab-40e6-413c-a7ea-407e7d36b98c) from Async(default) in 33.75ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: cd4969c4-fb21-4dd7-98c1-853427a27926) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.557706"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.558187"], ["updated_at", "2018-02-16 17:20:23.558187"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 63b0de23-d0ea-40b2-b1ad-f48a9c48d035) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.561172"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.561463"], ["id", 68]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [cd4969c4-fb21-4dd7-98c1-853427a27926] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: cd4969c4-fb21-4dd7-98c1-853427a27926) from Async(default) in 5.19ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 44a0cda6-e3e6-4899-a54f-3d02ab02c9a5) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.566306"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.566619"], ["updated_at", "2018-02-16 17:20:23.566619"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: b126b127-f059-422d-8d35-f822c77eda21) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.568861"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.569129"], ["id", 69]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [44a0cda6-e3e6-4899-a54f-3d02ab02c9a5] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 44a0cda6-e3e6-4899-a54f-3d02ab02c9a5) from Async(default) in 4.01ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 02226e27-e11a-4bb0-b665-3653d3860db6) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.573439"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.573831"], ["updated_at", "2018-02-16 17:20:23.573831"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5c6d2004-3e58-403b-9749-4e60c9abcf08) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.576157"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.576444"], ["id", 70]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [02226e27-e11a-4bb0-b665-3653d3860db6] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 02226e27-e11a-4bb0-b665-3653d3860db6) from Async(default) in 4.24ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (1.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 9132264], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 9132264], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "cfa7870790154ae5b5a8cb5e241382e3"], ["created_at", "2018-02-16 17:20:23.598950"], ["updated_at", "2018-02-16 17:20:23.598950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16401536], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16401536], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "e8080a0f0de9dbeecbe0d01c204df962"], ["created_at", "2018-02-16 17:20:23.601884"], ["updated_at", "2018-02-16 17:20:23.601884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71146489], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71146489], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "inactive"], ["sis_id", "3e769d69a163faa03b0b3d8a48221d20"], ["created_at", "2018-02-16 17:20:23.603953"], ["updated_at", "2018-02-16 17:20:23.603953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3dca7dd3-1f65-4a9d-b669-e6eb15edef16) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.607213"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:20:23.607684"], ["updated_at", "2018-02-16 17:20:23.607684"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:20:23.609613' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:20:23.609787' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.611080"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.611397"], ["id", 71]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [3dca7dd3-1f65-4a9d-b669-e6eb15edef16] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 3dca7dd3-1f65-4a9d-b669-e6eb15edef16) from Async(default) in 5.57ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 420aea33-363f-4e36-82b4-d5508636fd9e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.616623"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:20:23.617002"], ["updated_at", "2018-02-16 17:20:23.617002"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.620585"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.620887"], ["id", 72]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [420aea33-363f-4e36-82b4-d5508636fd9e] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 420aea33-363f-4e36-82b4-d5508636fd9e) from Async(default) in 5.72ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: edbbf139-9b34-4fd5-8001-c8ec4fe50db7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.629123"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.629467"], ["updated_at", "2018-02-16 17:20:23.629467"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:20:23.657705"], ["updated_at", "2018-02-16 17:20:23.657705"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:20:23.666267"], ["updated_at", "2018-02-16 17:20:23.666267"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (19, 20)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.672168"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.672572"], ["id", 73]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [edbbf139-9b34-4fd5-8001-c8ec4fe50db7] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: edbbf139-9b34-4fd5-8001-c8ec4fe50db7) from Async(default) in 45.19ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f70dc84-7bc4-48ee-87b5-b312421d8249) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.679145"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.679496"], ["updated_at", "2018-02-16 17:20:23.679496"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 95dc182d-a5e5-4c68-bedc-735a990c3973) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.682162"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.682434"], ["id", 74]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f70dc84-7bc4-48ee-87b5-b312421d8249] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f70dc84-7bc4-48ee-87b5-b312421d8249) from Async(default) in 4.46ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 17e45ca2-346f-4f38-83c7-ca38babec954) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.688035"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.688580"], ["updated_at", "2018-02-16 17:20:23.688580"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:20:23.695358"], ["updated_at", "2018-02-16 17:20:23.695358"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.697903"], ["updated_at", "2018-02-16 17:20:23.697903"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.700110"], ["updated_at", "2018-02-16 17:20:23.700110"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:20:23.702807"], ["updated_at", "2018-02-16 17:20:23.702807"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:20:23.705434"], ["updated_at", "2018-02-16 17:20:23.705434"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.708434"], ["updated_at", "2018-02-16 17:20:23.708434"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.709468"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.710070"], ["id", 75]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [17e45ca2-346f-4f38-83c7-ca38babec954] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 17e45ca2-346f-4f38-83c7-ca38babec954) from Async(default) in 31.56ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 2cda8725-f340-4cbc-99a3-078eb0067858) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:23.725745"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:23.726235"], ["updated_at", "2018-02-16 17:20:23.726235"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a6c887a8-3a5e-4dc4-8996-c1fee5375645) to Async(default) at 2018-02-16 17:20:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:23.730265"], ["status", "success"], ["updated_at", "2018-02-16 17:20:23.730657"], ["id", 76]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [2cda8725-f340-4cbc-99a3-078eb0067858] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 2cda8725-f340-4cbc-99a3-078eb0067858) from Async(default) in 6.32ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 51431775], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 51431775], ["role_name", "Cool Role"], ["canvas_role_id", 54921560], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.737302"], ["updated_at", "2018-02-16 17:20:23.737302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 22214598], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 22214598], ["role_name", "Cool Role"], ["canvas_role_id", 43313322], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.747752"], ["updated_at", "2018-02-16 17:20:23.747752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 22214598], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.755804"], ["updated_at", "2018-02-16 17:20:23.755804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 26663621], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:23.771153"], ["updated_at", "2018-02-16 17:20:23.771153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 28], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:20:23.775229"], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (1.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:23.798223"], ["canvas_updated_at", "2018-02-15 17:20:23.798320"], ["created_at", "2018-02-16 17:20:23.800825"], ["updated_at", "2018-02-16 17:20:23.800825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:23.807534"], ["canvas_updated_at", "2018-02-15 17:20:23.807631"], ["created_at", "2018-02-16 17:20:23.808645"], ["updated_at", "2018-02-16 17:20:23.808645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:23.824613"], ["canvas_updated_at", "2018-02-15 17:20:23.824756"], ["created_at", "2018-02-16 17:20:23.826056"], ["updated_at", "2018-02-16 17:20:23.826056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:23.830814"], ["canvas_updated_at", "2018-02-15 17:20:23.830918"], ["created_at", "2018-02-16 17:20:23.831849"], ["updated_at", "2018-02-16 17:20:23.831849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (7.6ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:20:23.866557"], ["unlock_at", "2018-02-15 17:20:23.866664"], ["lock_at", "2018-03-09 17:20:23.866706"], ["created_at", "2018-02-16 17:20:23.877754"], ["updated_at", "2018-02-16 17:20:23.877754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:20:23.887361"], ["unlock_at", "2018-02-15 17:20:23.887454"], ["lock_at", "2018-03-09 17:20:23.887497"], ["created_at", "2018-02-16 17:20:23.889921"], ["updated_at", "2018-02-16 17:20:23.889921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:20:23.898173"], ["unlock_at", "2018-02-15 17:20:23.898757"], ["lock_at", "2018-03-09 17:20:23.898803"], ["created_at", "2018-02-16 17:20:23.899911"], ["updated_at", "2018-02-16 17:20:23.899911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:20:23.905272"], ["unlock_at", "2018-02-15 17:20:23.905352"], ["lock_at", "2018-03-09 17:20:23.905394"], ["created_at", "2018-02-16 17:20:23.906610"], ["updated_at", "2018-02-16 17:20:23.906610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11151925], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 11151925], ["sis_id", "ffeda0cb6d61cd4c5684147c0186aec5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.941727"], ["end_date", "2018-03-09 17:20:23.941908"], ["created_at", "2018-02-16 17:20:23.946408"], ["updated_at", "2018-02-16 17:20:23.946408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 33873796], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 33873796], ["sis_id", "61c57e04aaaaaeb219c0135a7ded7ff6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.948518"], ["end_date", "2018-03-09 17:20:23.948584"], ["created_at", "2018-02-16 17:20:23.956988"], ["updated_at", "2018-02-16 17:20:23.956988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:20:23.958354"], ["unlock_at", "2018-02-15 17:20:23.958421"], ["lock_at", "2018-03-09 17:20:23.958462"], ["created_at", "2018-02-16 17:20:23.959527"], ["updated_at", "2018-02-16 17:20:23.959527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 26], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 33873796], ["context_type", "Course"], ["updated_at", "2018-02-16 17:20:23.961601"], ["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 33873796], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43373445], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43373445], ["sis_id", "5741f905b12a0a90dfdf12b8f2d8e06f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.975246"], ["end_date", "2018-03-09 17:20:23.975380"], ["created_at", "2018-02-16 17:20:23.976464"], ["updated_at", "2018-02-16 17:20:23.976464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 45], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 40137483], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 40137483], ["sis_id", "baec996f5708fa84ee8e2b647810902e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.981916"], ["end_date", "2018-03-09 17:20:23.981982"], ["created_at", "2018-02-16 17:20:23.982783"], ["updated_at", "2018-02-16 17:20:23.982783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 40137483], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 64210658], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 64210658], ["sis_id", "681245a4f500d09715478b3c8e85a42c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.988030"], ["end_date", "2018-03-09 17:20:23.988091"], ["created_at", "2018-02-16 17:20:23.988871"], ["updated_at", "2018-02-16 17:20:23.988871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60176204], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60176204], ["sis_id", "21ad5c36e4a73e687b8f1defe3b2bb02"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.993302"], ["end_date", "2018-03-09 17:20:23.993402"], ["created_at", "2018-02-16 17:20:23.994712"], ["updated_at", "2018-02-16 17:20:23.994712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 81129106], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 81129106], ["sis_id", "2ec013d081463b4b499c06ec73f53569"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:23.999742"], ["end_date", "2018-03-09 17:20:23.999843"], ["created_at", "2018-02-16 17:20:24.000947"], ["updated_at", "2018-02-16 17:20:24.000947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 18905598], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 18905598], ["sis_id", "75ed0713e6d6ab90bb5a893c7760b124"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:24.013344"], ["end_date", "2018-03-09 17:20:24.013455"], ["created_at", "2018-02-16 17:20:24.014784"], ["updated_at", "2018-02-16 17:20:24.014784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 15778311], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 15778311], ["sis_id", "da0c4502c5f983083df4c0f9b72f39f6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:24.020021"], ["end_date", "2018-03-09 17:20:24.020098"], ["created_at", "2018-02-16 17:20:24.020980"], ["updated_at", "2018-02-16 17:20:24.020980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23248040], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 23248040], ["sis_id", "82a5974e7d8abc92e0460d9678c94efa"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:24.026701"], ["end_date", "2018-03-09 17:20:24.026768"], ["created_at", "2018-02-16 17:20:24.027658"], ["updated_at", "2018-02-16 17:20:24.027658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.7ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 31834313], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 31834313], ["created_at", "2018-02-16 17:20:24.047667"], ["updated_at", "2018-02-16 17:20:24.047667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 60166820], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 60166820], ["created_at", "2018-02-16 17:20:24.054759"], ["updated_at", "2018-02-16 17:20:24.054759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 60166820], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 83621534], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 83621534], ["created_at", "2018-02-16 17:20:24.071794"], ["updated_at", "2018-02-16 17:20:24.071794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 6198251], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 6198251], ["created_at", "2018-02-16 17:20:24.076598"], ["updated_at", "2018-02-16 17:20:24.076598"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99209560], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 99209560], ["created_at", "2018-02-16 17:20:24.082810"], ["updated_at", "2018-02-16 17:20:24.082810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 54503076], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 54503076], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:24.087970"], ["updated_at", "2018-02-16 17:20:24.087970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62142316], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 62142316], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:24.093493"], ["updated_at", "2018-02-16 17:20:24.093493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62142316], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:20:24.103962"], ["updated_at", "2018-02-16 17:20:24.103962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:24.125216"], ["updated_at", "2018-02-16 17:20:24.125216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 24], ["LIMIT", 1]] SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:20:24.130161"], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (1.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 42264381], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 42264381], ["created_at", "2018-02-16 17:20:24.152172"], ["updated_at", "2018-02-16 17:20:24.152172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 77251796], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 77251796], ["created_at", "2018-02-16 17:20:24.167479"], ["updated_at", "2018-02-16 17:20:24.167479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 77251796], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 18614705], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 18614705], ["created_at", "2018-02-16 17:20:24.175705"], ["updated_at", "2018-02-16 17:20:24.175705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 79728224], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 79728224], ["created_at", "2018-02-16 17:20:24.181664"], ["updated_at", "2018-02-16 17:20:24.181664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:20:24.195126"], ["graded_at", "2018-02-15 17:20:24.195219"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:24.198104"], ["updated_at", "2018-02-16 17:20:24.198104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:20:24.204625"], ["graded_at", "2018-02-15 17:20:24.204738"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:24.205864"], ["updated_at", "2018-02-16 17:20:24.205864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Submission Exists (0.7ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:20:24.212491"], ["graded_at", "2018-02-15 17:20:24.212807"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:24.218467"], ["updated_at", "2018-02-16 17:20:24.218467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:20:24.226007"], ["graded_at", "2018-02-15 17:20:24.226127"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:24.227009"], ["updated_at", "2018-02-16 17:20:24.227009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:20:24.230704"], ["graded_at", "2018-02-15 17:20:24.230776"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:24.232896"], ["updated_at", "2018-02-16 17:20:24.232896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 82522856], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 82522856], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "6d51831afc132407d6427ffbb838e79b"], ["created_at", "2018-02-16 17:20:24.238287"], ["updated_at", "2018-02-16 17:20:24.238287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 64], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84775937], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 84775937], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "713531055170dcb017d29a7e8001699c"], ["created_at", "2018-02-16 17:20:24.244572"], ["updated_at", "2018-02-16 17:20:24.244572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.7ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84775937], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 74391008], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 74391008], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "b5d0f8a948df0c6c5da0f1067a39ede3"], ["created_at", "2018-02-16 17:20:24.251336"], ["updated_at", "2018-02-16 17:20:24.251336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49417368], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49417368], ["name", "Cool Term"], ["start_at", "2018-02-14 17:20:24.254835"], ["end_at", "2018-02-19 17:20:24.254901"], ["workflow_state", "active"], ["sis_id", "89a80e736af2c95729b2d760950c9507"], ["created_at", "2018-02-16 17:20:24.256385"], ["updated_at", "2018-02-16 17:20:24.256385"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 29561284], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 29561284], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "inactive"], ["sis_id", "af991ebea5d44b1a32815c47b175a977"], ["created_at", "2018-02-16 17:20:24.264747"], ["updated_at", "2018-02-16 17:20:24.264747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61528119], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61528119], ["name", "Cool Term"], ["start_at", "2017-12-16 17:20:24.266040"], ["end_at", "2018-01-16 17:20:24.266119"], ["workflow_state", "active"], ["sis_id", "96decb21858d8afe7f881ac2fc70d0ed"], ["created_at", "2018-02-16 17:20:24.267423"], ["updated_at", "2018-02-16 17:20:24.267423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 16062096], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 16062096], ["name", "Cool Term"], ["start_at", "2018-08-16 17:20:24.268631"], ["end_at", "2019-02-16 17:20:24.268690"], ["workflow_state", "active"], ["sis_id", "16818cbd2e52fabd23e5b3f8cf774736"], ["created_at", "2018-02-16 17:20:24.269916"], ["updated_at", "2018-02-16 17:20:24.269916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:20:24.271066' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:20:24.271210' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:20:24.278360"], ["updated_at", "2018-02-16 17:20:24.278360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:22.524139"], ["end_at", "2018-02-19 17:20:22.524339"], ["workflow_state", "active"], ["sis_id", "1d3686bcab1bed56cc1adebeb4440f33"], ["created_at", "2018-02-16 17:20:24.284987"], ["updated_at", "2018-02-16 17:20:24.284987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 72], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:20:24.287967"], ["id", 72]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 38831123], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 38831123], ["sis_id", "41af584d56f01cc5348cab99c461652d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:24.305549"], ["updated_at", "2018-02-16 17:20:24.305549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 66916749], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 66916749], ["sis_id", "38229b074cc640181bca36727e10055f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:24.322394"], ["updated_at", "2018-02-16 17:20:24.322394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 66916749], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 74125995], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 74125995], ["sis_id", "d45c9b9b00bf8fd3fde1515e745a4666"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:24.331869"], ["updated_at", "2018-02-16 17:20:24.331869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 35606873], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 35606873], ["sis_id", "5b1fe1b19f114b59e983bd73fbbcb337"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:24.340566"], ["updated_at", "2018-02-16 17:20:24.340566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:20:24.347933','2018-02-16 17:20:24.347933'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:20:24.347933','2018-02-16 17:20:24.347933') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:20:24.355999','2018-02-16 17:20:24.355999'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:20:24.355999','2018-02-16 17:20:24.355999') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:20:24.371348','2018-02-16 17:20:24.371348'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:20:24.371348','2018-02-16 17:20:24.371348') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:20:24.380167','2018-02-16 17:20:24.380167'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:20:24.380167','2018-02-16 17:20:24.380167') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:20:24.389231','2018-02-16 17:20:24.389231'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:20:24.389231','2018-02-16 17:20:24.389231') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:20:24.396950','2018-02-16 17:20:24.396950'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:20:24.396950','2018-02-16 17:20:24.396950') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:20:24.404021','2018-02-16 17:20:24.404021') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:20:24.413326','2018-02-16 17:20:24.413326'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:20:24.413326','2018-02-16 17:20:24.413326') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:20:24.415193','2018-02-16 17:20:24.415193'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:20:24.415193','2018-02-16 17:20:24.415193') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (3.1ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-16 17:20:24.437802','2018-02-16 17:20:24.437802'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-16 17:20:24.437802','2018-02-16 17:20:24.437802') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Load (0.2ms) SELECT "submissions".* FROM "submissions"  (0.1ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9] Performing GoodJob (Job ID: 717c7cde-0601-4e73-b217-86acd30e8ce9) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.281717"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:20:43.292647"], ["updated_at", "2018-02-16 17:20:43.292647"]] [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.294732"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.294980"], ["id", 77]] [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [717c7cde-0601-4e73-b217-86acd30e8ce9] Performed GoodJob (Job ID: 717c7cde-0601-4e73-b217-86acd30e8ce9) from Async(default) in 14.81ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792] Performing BadJob (Job ID: a6454200-2435-4c2e-824b-2ff5bb73c792) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.311292"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-16 17:20:43.311748"], ["updated_at", "2018-02-16 17:20:43.311748"]] [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:20:43.313755"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:20:43.314052"], ["id", 78]] [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [a6454200-2435-4c2e-824b-2ff5bb73c792] Error performing BadJob (Job ID: a6454200-2435-4c2e-824b-2ff5bb73c792) from Async(default) in 4.64ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09] Performing CanvasSync::Jobs::ReportChecker (Job ID: 772a18b1-e6fd-4364-809c-249f1a5c7d09) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.321589"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.321931"], ["updated_at", "2018-02-16 17:20:43.321931"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 79]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [772a18b1-e6fd-4364-809c-249f1a5c7d09] Performed CanvasSync::Jobs::ReportChecker (Job ID: 772a18b1-e6fd-4364-809c-249f1a5c7d09) from Async(default) in 8.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e] Performing CanvasSync::Jobs::ReportChecker (Job ID: b20fa387-8c1f-4d9a-b946-cfdd82e49c3e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.332946"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.333276"], ["updated_at", "2018-02-16 17:20:43.333276"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 40c896cc-753d-4c8a-b8ac-3f0e8eef3a71) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 80]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [b20fa387-8c1f-4d9a-b946-cfdd82e49c3e] Performed CanvasSync::Jobs::ReportChecker (Job ID: b20fa387-8c1f-4d9a-b946-cfdd82e49c3e) from Async(default) in 4.61ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a] Performing CanvasSync::Jobs::ReportChecker (Job ID: 8ac0f507-a8ee-4071-be85-3d690eca4f5a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.340938"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.341252"], ["updated_at", "2018-02-16 17:20:43.341252"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-16 17:20:43.343402"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-16 17:20:43.343650"], ["id", 81]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [8ac0f507-a8ee-4071-be85-3d690eca4f5a] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 8ac0f507-a8ee-4071-be85-3d690eca4f5a) from Async(default) in 4.78ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 39de64f0-0bbd-467e-ae73-9a9de4b98ca9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.349731"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.350111"], ["updated_at", "2018-02-16 17:20:43.350111"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-16 17:20:43.352369"], ["id", 82]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.381582"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.382189"], ["id", 82]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [39de64f0-0bbd-467e-ae73-9a9de4b98ca9] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 39de64f0-0bbd-467e-ae73-9a9de4b98ca9) from Async(default) in 34.14ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9] Performing CanvasSync::Jobs::ReportStarter (Job ID: 68bb822e-884a-4cfd-a89f-db3b5cb111a9) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.388160"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-16 17:20:43.388509"], ["updated_at", "2018-02-16 17:20:43.388509"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 55f39a0a-3d1a-4883-b679-3c1a463b8baf) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.391265"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.391659"], ["id", 83]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [68bb822e-884a-4cfd-a89f-db3b5cb111a9] Performed CanvasSync::Jobs::ReportStarter (Job ID: 68bb822e-884a-4cfd-a89f-db3b5cb111a9) from Async(default) in 5.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32] Performing CanvasSync::Jobs::ReportStarter (Job ID: 6741c4e0-db09-4767-b5c9-082c53b11e32) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.397071"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:20:43.397484"], ["updated_at", "2018-02-16 17:20:43.397484"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.399693"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.399947"], ["id", 84]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6741c4e0-db09-4767-b5c9-082c53b11e32] Performed CanvasSync::Jobs::ReportStarter (Job ID: 6741c4e0-db09-4767-b5c9-082c53b11e32) from Async(default) in 4.36ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840] Performing CanvasSync::Jobs::ReportStarter (Job ID: d39f4eec-5fed-4bf0-89df-447ecea7f840) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.405234"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-16 17:20:43.405631"], ["updated_at", "2018-02-16 17:20:43.405631"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.408322"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.408616"], ["id", 85]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d39f4eec-5fed-4bf0-89df-447ecea7f840] Performed CanvasSync::Jobs::ReportStarter (Job ID: d39f4eec-5fed-4bf0-89df-447ecea7f840) from Async(default) in 4.87ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (11.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 0733fce8-9fe2-4746-8fb8-69bd688f88ad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.428379"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.428855"], ["updated_at", "2018-02-16 17:20:43.428855"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.445633"], ["updated_at", "2018-02-16 17:20:43.445633"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.1ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.448348"], ["updated_at", "2018-02-16 17:20:43.448348"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.1ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.450753"], ["updated_at", "2018-02-16 17:20:43.450753"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (29, 30, 31)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.452250"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.452507"], ["id", 86]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [0733fce8-9fe2-4746-8fb8-69bd688f88ad] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 0733fce8-9fe2-4746-8fb8-69bd688f88ad) from Async(default) in 25.35ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 135688e4-4367-49dc-ad45-1fd32e9237e2) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.459082"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.459492"], ["updated_at", "2018-02-16 17:20:43.459492"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7c51c93d-1947-4ebd-a8f8-c7b72473db09) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.462223"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.462490"], ["id", 87]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [135688e4-4367-49dc-ad45-1fd32e9237e2] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 135688e4-4367-49dc-ad45-1fd32e9237e2) from Async(default) in 4.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 813f9376-fef6-4a71-9dca-2cde10576778) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.467825"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.468216"], ["updated_at", "2018-02-16 17:20:43.468216"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 70d24cec-9e31-4abb-8783-4c65dc964c2e) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.470788"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.471112"], ["id", 88]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [813f9376-fef6-4a71-9dca-2cde10576778] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 813f9376-fef6-4a71-9dca-2cde10576778) from Async(default) in 4.62ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.476298"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.476704"], ["updated_at", "2018-02-16 17:20:43.476704"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 7c0d7f25-edee-4535-9266-3f0865cbcac9) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.479248"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.479591"], ["id", 89]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6e1f40e5-d1dc-44d9-8cd3-ae8d2f781ee2) from Async(default) in 4.76ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (1.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 98715429], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 98715429], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "df6b71739da9b8bf12c5139d180786e9"], ["created_at", "2018-02-16 17:20:43.504090"], ["updated_at", "2018-02-16 17:20:43.504090"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36355897], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36355897], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "7c9abce84c8319e2079901d9e656dede"], ["created_at", "2018-02-16 17:20:43.507846"], ["updated_at", "2018-02-16 17:20:43.507846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 77575343], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 77575343], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "inactive"], ["sis_id", "97586f61047d3ae132aaef0c4656e1ca"], ["created_at", "2018-02-16 17:20:43.510145"], ["updated_at", "2018-02-16 17:20:43.510145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c420df3b-1657-444e-af23-3fa03b257494) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.511966"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-16 17:20:43.512356"], ["updated_at", "2018-02-16 17:20:43.512356"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494] Term Load (0.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:20:43.514401' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:20:43.514577' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.515948"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.516274"], ["id", 90]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [c420df3b-1657-444e-af23-3fa03b257494] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: c420df3b-1657-444e-af23-3fa03b257494) from Async(default) in 5.74ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6327664c-9be5-4046-8dc1-2362480bde6f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.521119"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-16 17:20:43.521422"], ["updated_at", "2018-02-16 17:20:43.521422"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.523132"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.523375"], ["id", 91]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [6327664c-9be5-4046-8dc1-2362480bde6f] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 6327664c-9be5-4046-8dc1-2362480bde6f) from Async(default) in 3.52ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 4457b0a6-32bd-49a5-abed-295dc25ee226) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.534800"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.535247"], ["updated_at", "2018-02-16 17:20:43.535247"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:20:43.562309"], ["updated_at", "2018-02-16 17:20:43.562309"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-16 17:20:43.571017"], ["updated_at", "2018-02-16 17:20:43.571017"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] SQL (0.3ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (25, 26)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.577359"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.577855"], ["id", 92]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4457b0a6-32bd-49a5-abed-295dc25ee226] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 4457b0a6-32bd-49a5-abed-295dc25ee226) from Async(default) in 44.65ms  (0.1ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 69619e95-bfb3-43ea-a086-a00a3160e787) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.584170"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.584519"], ["updated_at", "2018-02-16 17:20:43.584519"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3d754cbf-fffd-4e7a-a36f-5591716cd232) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.587234"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.587547"], ["id", 93]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [69619e95-bfb3-43ea-a086-a00a3160e787] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 69619e95-bfb3-43ea-a086-a00a3160e787) from Async(default) in 4.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: aff6e850-65e7-45f7-b42d-13879037ec02) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.592975"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.593312"], ["updated_at", "2018-02-16 17:20:43.593312"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:20:43.600162"], ["updated_at", "2018-02-16 17:20:43.600162"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.603063"], ["updated_at", "2018-02-16 17:20:43.603063"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.605655"], ["updated_at", "2018-02-16 17:20:43.605655"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-16 17:20:43.608678"], ["updated_at", "2018-02-16 17:20:43.608678"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-16 17:20:43.611193"], ["updated_at", "2018-02-16 17:20:43.611193"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (5.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.614177"], ["updated_at", "2018-02-16 17:20:43.614177"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.623048"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.623555"], ["id", 94]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [aff6e850-65e7-45f7-b42d-13879037ec02] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: aff6e850-65e7-45f7-b42d-13879037ec02) from Async(default) in 32.2ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: b554c6bc-bb50-4383-86a8-c68678b69dbb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-16 17:20:43.630687"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-16 17:20:43.631099"], ["updated_at", "2018-02-16 17:20:43.631099"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: e8e5ebc8-725c-42c5-b461-39d0031dab7a) to Async(default) at 2018-02-16 17:21:13 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-16 17:20:43.634927"], ["status", "success"], ["updated_at", "2018-02-16 17:20:43.635286"], ["id", 95]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [b554c6bc-bb50-4383-86a8-c68678b69dbb] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: b554c6bc-bb50-4383-86a8-c68678b69dbb) from Async(default) in 6.03ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 37075261], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 37075261], ["role_name", "Cool Role"], ["canvas_role_id", 50079219], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.640888"], ["updated_at", "2018-02-16 17:20:43.640888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 12358958], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 12358958], ["role_name", "Cool Role"], ["canvas_role_id", 18483414], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.651103"], ["updated_at", "2018-02-16 17:20:43.651103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 12358958], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.658928"], ["updated_at", "2018-02-16 17:20:43.658928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 58141522], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.666832"], ["updated_at", "2018-02-16 17:20:43.666832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (1.6ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 35], ["LIMIT", 1]] SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-16 17:20:43.676995"], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (1.1ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:43.698704"], ["canvas_updated_at", "2018-02-15 17:20:43.698805"], ["created_at", "2018-02-16 17:20:43.701173"], ["updated_at", "2018-02-16 17:20:43.701173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:43.706552"], ["canvas_updated_at", "2018-02-15 17:20:43.706623"], ["created_at", "2018-02-16 17:20:43.707469"], ["updated_at", "2018-02-16 17:20:43.707469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:43.714618"], ["canvas_updated_at", "2018-02-15 17:20:43.714706"], ["created_at", "2018-02-16 17:20:43.715754"], ["updated_at", "2018-02-16 17:20:43.715754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-09 17:20:43.721083"], ["canvas_updated_at", "2018-02-15 17:20:43.721237"], ["created_at", "2018-02-16 17:20:43.730149"], ["updated_at", "2018-02-16 17:20:43.730149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (1.6ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-23 17:20:43.760255"], ["unlock_at", "2018-02-15 17:20:43.760865"], ["lock_at", "2018-03-09 17:20:43.760938"], ["created_at", "2018-02-16 17:20:43.764373"], ["updated_at", "2018-02-16 17:20:43.764373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.7ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-23 17:20:43.773450"], ["unlock_at", "2018-02-15 17:20:43.773560"], ["lock_at", "2018-03-09 17:20:43.773603"], ["created_at", "2018-02-16 17:20:43.777559"], ["updated_at", "2018-02-16 17:20:43.777559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-23 17:20:43.793484"], ["unlock_at", "2018-02-15 17:20:43.793581"], ["lock_at", "2018-03-09 17:20:43.793630"], ["created_at", "2018-02-16 17:20:43.796810"], ["updated_at", "2018-02-16 17:20:43.796810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-23 17:20:43.801620"], ["unlock_at", "2018-02-15 17:20:43.801696"], ["lock_at", "2018-03-09 17:20:43.801737"], ["created_at", "2018-02-16 17:20:43.802908"], ["updated_at", "2018-02-16 17:20:43.802908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 20714746], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 20714746], ["sis_id", "feed0fafcf5674617b64f239ccf70c2a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.835829"], ["end_date", "2018-03-09 17:20:43.838076"], ["created_at", "2018-02-16 17:20:43.841548"], ["updated_at", "2018-02-16 17:20:43.841548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89199192], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 89199192], ["sis_id", "091559076e25b58d91f852bf3b120b13"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.844965"], ["end_date", "2018-03-09 17:20:43.845032"], ["created_at", "2018-02-16 17:20:43.846317"], ["updated_at", "2018-02-16 17:20:43.846317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-23 17:20:43.848039"], ["unlock_at", "2018-02-15 17:20:43.848106"], ["lock_at", "2018-03-09 17:20:43.848148"], ["created_at", "2018-02-16 17:20:43.850729"], ["updated_at", "2018-02-16 17:20:43.850729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 33], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 89199192], ["context_type", "Course"], ["updated_at", "2018-02-16 17:20:43.853912"], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89199192], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 14506874], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 14506874], ["sis_id", "83aaf501de95e9d07d932e228a5ac809"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.880360"], ["end_date", "2018-03-09 17:20:43.880475"], ["created_at", "2018-02-16 17:20:43.881653"], ["updated_at", "2018-02-16 17:20:43.881653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37939305], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37939305], ["sis_id", "d9ccc7c62605388a6d824ec80a634ae8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.888436"], ["end_date", "2018-03-09 17:20:43.888523"], ["created_at", "2018-02-16 17:20:43.889364"], ["updated_at", "2018-02-16 17:20:43.889364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.7ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37939305], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 55492079], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 55492079], ["sis_id", "193fb17023472dc045818e516b022484"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.895922"], ["end_date", "2018-03-09 17:20:43.895996"], ["created_at", "2018-02-16 17:20:43.896914"], ["updated_at", "2018-02-16 17:20:43.896914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 92015319], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 92015319], ["sis_id", "03ae42535ee2eef3b877d7de9157358f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.900833"], ["end_date", "2018-03-09 17:20:43.900924"], ["created_at", "2018-02-16 17:20:43.901985"], ["updated_at", "2018-02-16 17:20:43.901985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25301409], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 25301409], ["sis_id", "4732887d796a42304cab185b03388067"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.907325"], ["end_date", "2018-03-09 17:20:43.907438"], ["created_at", "2018-02-16 17:20:43.908711"], ["updated_at", "2018-02-16 17:20:43.908711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 86084080], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 86084080], ["sis_id", "b50ff59bc40c946ee7d5b6350fc1b353"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.922099"], ["end_date", "2018-03-09 17:20:43.922209"], ["created_at", "2018-02-16 17:20:43.923484"], ["updated_at", "2018-02-16 17:20:43.923484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 79023889], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 79023889], ["sis_id", "3399e704c8bd5a5e0a739733d918b14e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.927721"], ["end_date", "2018-03-09 17:20:43.927798"], ["created_at", "2018-02-16 17:20:43.928713"], ["updated_at", "2018-02-16 17:20:43.928713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24176161], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24176161], ["sis_id", "ccef77f80a819397dea5511d84e72755"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-13 17:20:43.933705"], ["end_date", "2018-03-09 17:20:43.933785"], ["created_at", "2018-02-16 17:20:43.934643"], ["updated_at", "2018-02-16 17:20:43.934643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (1.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45172325], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 45172325], ["created_at", "2018-02-16 17:20:43.954049"], ["updated_at", "2018-02-16 17:20:43.954049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (3.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 94953941], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 94953941], ["created_at", "2018-02-16 17:20:43.971401"], ["updated_at", "2018-02-16 17:20:43.971401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 94953941], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 1284724], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 1284724], ["created_at", "2018-02-16 17:20:43.980404"], ["updated_at", "2018-02-16 17:20:43.980404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 37169582], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 37169582], ["created_at", "2018-02-16 17:20:43.984952"], ["updated_at", "2018-02-16 17:20:43.984952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 11507369], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 11507369], ["created_at", "2018-02-16 17:20:43.989582"], ["updated_at", "2018-02-16 17:20:43.989582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 77148562], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 77148562], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:43.994180"], ["updated_at", "2018-02-16 17:20:43.994180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 15371567], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 15371567], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:44.000977"], ["updated_at", "2018-02-16 17:20:44.000977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 15371567], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-16 17:20:44.021549"], ["updated_at", "2018-02-16 17:20:44.021549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-16 17:20:44.032823"], ["updated_at", "2018-02-16 17:20:44.032823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 30], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-16 17:20:44.037500"], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (2.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 58248225], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 58248225], ["created_at", "2018-02-16 17:20:44.067872"], ["updated_at", "2018-02-16 17:20:44.067872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6475000], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 6475000], ["created_at", "2018-02-16 17:20:44.075495"], ["updated_at", "2018-02-16 17:20:44.075495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6475000], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 14522990], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 14522990], ["created_at", "2018-02-16 17:20:44.082276"], ["updated_at", "2018-02-16 17:20:44.082276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 80096246], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 80096246], ["created_at", "2018-02-16 17:20:44.086337"], ["updated_at", "2018-02-16 17:20:44.086337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-09 17:20:44.099292"], ["graded_at", "2018-02-15 17:20:44.099402"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:44.102395"], ["updated_at", "2018-02-16 17:20:44.102395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-09 17:20:44.117054"], ["graded_at", "2018-02-15 17:20:44.117145"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:44.118168"], ["updated_at", "2018-02-16 17:20:44.118168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-09 17:20:44.125112"], ["graded_at", "2018-02-15 17:20:44.125223"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:44.126195"], ["updated_at", "2018-02-16 17:20:44.126195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-09 17:20:44.130479"], ["graded_at", "2018-02-15 17:20:44.130550"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:44.131735"], ["updated_at", "2018-02-16 17:20:44.131735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-09 17:20:44.135570"], ["graded_at", "2018-02-15 17:20:44.135663"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-16 17:20:44.136422"], ["updated_at", "2018-02-16 17:20:44.136422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 90352788], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 90352788], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "ec4e90229946447d51f815aa70b436e4"], ["created_at", "2018-02-16 17:20:44.141039"], ["updated_at", "2018-02-16 17:20:44.141039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 82], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91369146], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 91369146], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "2fa131ebcf575f1b87db63816141a54d"], ["created_at", "2018-02-16 17:20:44.146768"], ["updated_at", "2018-02-16 17:20:44.146768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 91369146], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 15769706], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 15769706], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "3efce79203d1f7e8e938329079a1a147"], ["created_at", "2018-02-16 17:20:44.162391"], ["updated_at", "2018-02-16 17:20:44.162391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49739923], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49739923], ["name", "Cool Term"], ["start_at", "2018-02-14 17:20:44.166618"], ["end_at", "2018-02-19 17:20:44.166692"], ["workflow_state", "active"], ["sis_id", "c8b18fd944f7f18c2197e836bd71b01f"], ["created_at", "2018-02-16 17:20:44.167864"], ["updated_at", "2018-02-16 17:20:44.167864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 61196430], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 61196430], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "inactive"], ["sis_id", "41d106f71c44d9b09d4f2055d83846c9"], ["created_at", "2018-02-16 17:20:44.171150"], ["updated_at", "2018-02-16 17:20:44.171150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 71881057], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 71881057], ["name", "Cool Term"], ["start_at", "2017-12-16 17:20:44.172176"], ["end_at", "2018-01-16 17:20:44.172237"], ["workflow_state", "active"], ["sis_id", "61c6dfa38611e47a19b6ff9dcc7ca755"], ["created_at", "2018-02-16 17:20:44.173391"], ["updated_at", "2018-02-16 17:20:44.173391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44393880], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44393880], ["name", "Cool Term"], ["start_at", "2018-08-16 17:20:44.174341"], ["end_at", "2019-02-16 17:20:44.174392"], ["workflow_state", "active"], ["sis_id", "7ea4dcc551aab091daa72b6dbb2f1b60"], ["created_at", "2018-02-16 17:20:44.175410"], ["updated_at", "2018-02-16 17:20:44.175410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-03 17:20:44.176466' OR start_at IS NULL) AND (end_at >= '2018-02-01 17:20:44.176579' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-16 17:20:44.181877"], ["updated_at", "2018-02-16 17:20:44.181877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-13 17:20:42.457323"], ["end_at", "2018-02-19 17:20:42.457493"], ["workflow_state", "active"], ["sis_id", "b2721ec64918b445caff0c775e301757"], ["created_at", "2018-02-16 17:20:44.187002"], ["updated_at", "2018-02-16 17:20:44.187002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 90], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-16 17:20:44.189928"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 90], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (1.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 75121912], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 75121912], ["sis_id", "49f1cf4c23489212f95c18ec66a2e477"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:44.214513"], ["updated_at", "2018-02-16 17:20:44.214513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 39585603], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 39585603], ["sis_id", "d51646603c1a98808b6679586d8f7058"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:44.221914"], ["updated_at", "2018-02-16 17:20:44.221914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 39585603], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 66962121], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 66962121], ["sis_id", "1e0f95fbf96285cdab3cdd4336315d9a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:44.229914"], ["updated_at", "2018-02-16 17:20:44.229914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 35936814], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 35936814], ["sis_id", "c8e847c11c28e112cd43a1cad26080e0"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-16 17:20:44.235582"], ["updated_at", "2018-02-16 17:20:44.235582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:20:44.243163','2018-02-16 17:20:44.243163'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-16 17:20:44.243163','2018-02-16 17:20:44.243163') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-16 17:20:44.255097','2018-02-16 17:20:44.255097'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-16 17:20:44.255097','2018-02-16 17:20:44.255097') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:20:44.271668','2018-02-16 17:20:44.271668'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:20:44.271668','2018-02-16 17:20:44.271668') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:20:44.280684','2018-02-16 17:20:44.280684'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:20:44.280684','2018-02-16 17:20:44.280684') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-16 17:20:44.288316','2018-02-16 17:20:44.288316'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-16 17:20:44.288316','2018-02-16 17:20:44.288316') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:20:44.296028','2018-02-16 17:20:44.296028'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-16 17:20:44.296028','2018-02-16 17:20:44.296028') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-16 17:20:44.309985','2018-02-16 17:20:44.309985') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-16 17:20:44.321128','2018-02-16 17:20:44.321128'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-16 17:20:44.321128','2018-02-16 17:20:44.321128') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-16 17:20:44.322776','2018-02-16 17:20:44.322776'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-16 17:20:44.322776','2018-02-16 17:20:44.322776') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-16 17:20:44.334138','2018-02-16 17:20:44.334138'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-16 17:20:44.334138','2018-02-16 17:20:44.334138') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" LIMIT $1 [["LIMIT", 11]]  (0.1ms) ROLLBACK  (121.5ms) DROP DATABASE IF EXISTS "canvas_sync_test"  (390.6ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (0.1ms) DROP TABLE IF EXISTS "accounts" CASCADE  (17.4ms) CREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE  (3.8ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE  (3.7ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")  (1.2ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE  (3.7ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")  (1.4ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE  (3.8ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE  (3.8ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE  (4.2ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")  (1.5ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE  (3.9ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE  (3.6ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")  (1.2ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE  (3.7ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")  (1.3ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")  (1.5ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")  (1.4ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE  (3.7ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE  (4.3ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180222163506)  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170905192509), (20170906193506), (20170914181345), (20170918221413), (20171107213207), (20180103162102), (20180109210452), (20180215214227), (20180216171618), (20180220172559), (20170915210836);   (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-22 16:35:29.020858"], ["updated_at", "2018-02-22 16:35:29.020858"]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a] Performing GoodJob (Job ID: c21b6706-9303-4fca-a7a3-afe61fdf0f4a) from Async(default) with arguments: "argument" [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.474348"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-22 16:35:29.486146"], ["updated_at", "2018-02-22 16:35:29.486146"]] [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.488144"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.488411"], ["id", 1]] [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [GoodJob] [c21b6706-9303-4fca-a7a3-afe61fdf0f4a] Performed GoodJob (Job ID: c21b6706-9303-4fca-a7a3-afe61fdf0f4a) from Async(default) in 15.37ms  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs" CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470] Performing BadJob (Job ID: f0d7de33-6936-457c-8f8e-cb8c664b9470) from Async(default) with arguments: "argument" [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.495302"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-22 16:35:29.495594"], ["updated_at", "2018-02-22 16:35:29.495594"]] [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-22 16:35:29.496916"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-22 16:35:29.497141"], ["id", 2]] [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [BadJob] [f0d7de33-6936-457c-8f8e-cb8c664b9470] Error performing BadJob (Job ID: f0d7de33-6936-457c-8f8e-cb8c664b9470) from Async(default) in 3.53ms: EvilError (EvilError): /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
' CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4a3b8789-92cd-45cd-b046-c9abc1416237) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.503306"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.503734"], ["updated_at", "2018-02-22 16:35:29.503734"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4a3b8789-92cd-45cd-b046-c9abc1416237] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4a3b8789-92cd-45cd-b046-c9abc1416237) from Async(default) in 17.63ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460] Performing CanvasSync::Jobs::ReportChecker (Job ID: 36e1cc5a-7c3f-46be-a2a0-590a2cf99460) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460] SQL (3.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.525086"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.525482"], ["updated_at", "2018-02-22 16:35:29.525482"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0b594889-a005-4f7e-b8ba-5fdc69f902dc) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [36e1cc5a-7c3f-46be-a2a0-590a2cf99460] Performed CanvasSync::Jobs::ReportChecker (Job ID: 36e1cc5a-7c3f-46be-a2a0-590a2cf99460) from Async(default) in 14.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff] Performing CanvasSync::Jobs::ReportChecker (Job ID: 436d13fd-3553-44a0-a97c-9c3dd82549ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.544024"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.544417"], ["updated_at", "2018-02-22 16:35:29.544417"]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-22 16:35:29.548007"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in '\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'\"]"], ["status", "error"], ["updated_at", "2018-02-22 16:35:29.548286"], ["id", 5]] [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportChecker] [436d13fd-3553-44a0-a97c-9c3dd82549ff] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 436d13fd-3553-44a0-a97c-9c3dd82549ff) from Async(default) in 6.12ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1): /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks' /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in ' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load' /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `
'  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: a638a8d7-b724-4883-ac5b-654dc526c816) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {} [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.553497"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.553821"], ["updated_at", "2018-02-22 16:35:29.553821"]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-22 16:35:29.555750"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.588116"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.588751"], ["id", 6]] [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [a638a8d7-b724-4883-ac5b-654dc526c816] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: a638a8d7-b724-4883-ac5b-654dc526c816) from Async(default) in 37.03ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c] Performing CanvasSync::Jobs::ReportStarter (Job ID: aaea5c8a-b896-4af0-831d-4d70b3dda84c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.595036"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-22 16:35:29.595414"], ["updated_at", "2018-02-22 16:35:29.595414"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ceea2cdb-05e0-4b12-801e-144d800f5419) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c] SQL (1.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.598148"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.598466"], ["id", 7]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [aaea5c8a-b896-4af0-831d-4d70b3dda84c] Performed CanvasSync::Jobs::ReportStarter (Job ID: aaea5c8a-b896-4af0-831d-4d70b3dda84c) from Async(default) in 6.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61] Performing CanvasSync::Jobs::ReportStarter (Job ID: 288cacda-a73b-4915-bce7-f2d8fa715f61) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.604124"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-22 16:35:29.604456"], ["updated_at", "2018-02-22 16:35:29.604456"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.606645"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.606879"], ["id", 8]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [288cacda-a73b-4915-bce7-f2d8fa715f61] Performed CanvasSync::Jobs::ReportStarter (Job ID: 288cacda-a73b-4915-bce7-f2d8fa715f61) from Async(default) in 4.23ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d] Performing CanvasSync::Jobs::ReportStarter (Job ID: a327cf2a-f487-4caf-bda5-7ee6da4f354d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true} [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.611456"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-22 16:35:29.611749"], ["updated_at", "2018-02-22 16:35:29.611749"]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.614047"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.614427"], ["id", 9]] [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::ReportStarter] [a327cf2a-f487-4caf-bda5-7ee6da4f354d] Performed CanvasSync::Jobs::ReportStarter (Job ID: a327cf2a-f487-4caf-bda5-7ee6da4f354d) from Async(default) in 4.41ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "admins" [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: fbd9588d-6d21-4d09-a381-a4ccb8853213) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.623021"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.623359"], ["updated_at", "2018-02-22 16:35:29.623359"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (1.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.646973"], ["updated_at", "2018-02-22 16:35:29.646973"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.650824"], ["updated_at", "2018-02-22 16:35:29.650824"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.654419"], ["updated_at", "2018-02-22 16:35:29.654419"]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3)) [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.656078"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.656357"], ["id", 10]] [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [fbd9588d-6d21-4d09-a381-a4ccb8853213] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: fbd9588d-6d21-4d09-a381-a4ccb8853213) from Async(default) in 34.62ms  (0.2ms) SELECT COUNT(*) FROM "admins"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: abd8c2db-c727-4cbb-a0c3-417756bee6d0) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.661765"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.662095"], ["updated_at", "2018-02-22 16:35:29.662095"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 0b21d79d-5e01-46de-89ef-e4c5aed9e9b3) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.664920"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.665335"], ["id", 11]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [abd8c2db-c727-4cbb-a0c3-417756bee6d0] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: abd8c2db-c727-4cbb-a0c3-417756bee6d0) from Async(default) in 5.24ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 56bedc56-1eaa-4e13-9d3c-c297ce813da3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.670511"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.670853"], ["updated_at", "2018-02-22 16:35:29.670853"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1ab64207-269d-4827-a07f-81710bd5b275) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.673350"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.673620"], ["id", 12]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56bedc56-1eaa-4e13-9d3c-c297ce813da3] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 56bedc56-1eaa-4e13-9d3c-c297ce813da3) from Async(default) in 4.33ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 8fcf431a-22ea-4531-af56-00945983f2fd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.677635"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.677940"], ["updated_at", "2018-02-22 16:35:29.677940"]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3e727cbe-e5b6-4cde-a956-4a43294a7100) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.680197"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.680510"], ["id", 13]] [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8fcf431a-22ea-4531-af56-00945983f2fd] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 8fcf431a-22ea-4531-af56-00945983f2fd) from Async(default) in 4.29ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Term Exists (2.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 46456279], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 46456279], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "2449f0b7188a72589446bf3cca4c37d4"], ["created_at", "2018-02-22 16:35:29.704359"], ["updated_at", "2018-02-22 16:35:29.704359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 59876821], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 59876821], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "7a16b3b278d06f1568d521765a7a82b6"], ["created_at", "2018-02-22 16:35:29.706977"], ["updated_at", "2018-02-22 16:35:29.706977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 19195672], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 19195672], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "inactive"], ["sis_id", "49094ce536db309f3cdb785f8b196085"], ["created_at", "2018-02-22 16:35:29.708967"], ["updated_at", "2018-02-22 16:35:29.708967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b64a6e1b-8be8-4476-997f-720150a20332) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.711584"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-22 16:35:29.712006"], ["updated_at", "2018-02-22 16:35:29.712006"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332] Term Load (1.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-09 16:35:29.714386' OR start_at IS NULL) AND (end_at >= '2018-02-07 16:35:29.714674' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.717256"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.717674"], ["id", 14]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [b64a6e1b-8be8-4476-997f-720150a20332] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: b64a6e1b-8be8-4476-997f-720150a20332) from Async(default) in 7.95ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 351696ae-0842-4ebe-80e4-1e54a80f0999) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]} [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.723528"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-22 16:35:29.723876"], ["updated_at", "2018-02-22 16:35:29.723876"]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.729474"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.729767"], ["id", 15]] [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [351696ae-0842-4ebe-80e4-1e54a80f0999] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 351696ae-0842-4ebe-80e4-1e54a80f0999) from Async(default) in 7.56ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "roles" [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 23b30510-8ee8-48f7-8cf6-1195fc146c13) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.739720"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.740164"], ["updated_at", "2018-02-22 16:35:29.740164"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.6ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] SQL (0.6ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-22 16:35:29.764032"], ["updated_at", "2018-02-22 16:35:29.764032"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-22 16:35:29.772641"], ["updated_at", "2018-02-22 16:35:29.772641"]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2)) [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.778093"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.778401"], ["id", 16]] [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [23b30510-8ee8-48f7-8cf6-1195fc146c13] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 23b30510-8ee8-48f7-8cf6-1195fc146c13) from Async(default) in 40.01ms  (0.2ms) SELECT COUNT(*) FROM "roles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 5ecc319b-c53b-40fd-b596-78aecbadfe09) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.784916"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.785380"], ["updated_at", "2018-02-22 16:35:29.785380"]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 26735eaf-80d1-4ca3-99e4-3f6a984da189) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {} [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.788334"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.788664"], ["id", 17]] [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [5ecc319b-c53b-40fd-b596-78aecbadfe09] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 5ecc319b-c53b-40fd-b596-78aecbadfe09) from Async(default) in 5.19ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 5538b329-f8a4-4724-aefc-f42effa47f46) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.794029"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.794367"], ["updated_at", "2018-02-22 16:35:29.794367"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-22 16:35:29.804039"], ["updated_at", "2018-02-22 16:35:29.804039"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.806665"], ["updated_at", "2018-02-22 16:35:29.806665"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.808766"], ["updated_at", "2018-02-22 16:35:29.808766"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-22 16:35:29.811784"], ["updated_at", "2018-02-22 16:35:29.811784"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (1.1ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-22 16:35:29.814549"], ["updated_at", "2018-02-22 16:35:29.814549"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Load (0.6ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.824630"], ["updated_at", "2018-02-22 16:35:29.824630"]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.825777"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.826074"], ["id", 18]] [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [5538b329-f8a4-4724-aefc-f42effa47f46] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 5538b329-f8a4-4724-aefc-f42effa47f46) from Async(default) in 33.71ms  (0.2ms) SELECT COUNT(*) FROM "terms"  (0.1ms) ROLLBACK  (0.1ms) BEGIN [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 31248e6a-78b0-4778-b395-988f288a2eef) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef] SQL (1.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-22 16:35:29.832233"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-22 16:35:29.832688"], ["updated_at", "2018-02-22 16:35:29.832688"]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1d231c11-cb3a-4cb9-ac93-5c1b2ef032bb) to Async(default) at 2018-02-22 16:35:59 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]} [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-22 16:35:29.836202"], ["status", "success"], ["updated_at", "2018-02-22 16:35:29.836558"], ["id", 19]] [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [31248e6a-78b0-4778-b395-988f288a2eef] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 31248e6a-78b0-4778-b395-988f288a2eef) from Async(default) in 5.55ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Account Exists (1.9ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 86156698], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_account_id", 86156698], ["account_id", "ce28f3897d1b39e95545c8896bc3f0d8"], ["canvas_parent_id", 1], ["parent_account_id", "e967a21bca39fd9fd3f14b8729db8b1e"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-02-22 16:35:29.851274"], ["updated_at", "2018-02-22 16:35:29.851274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Account Exists (0.2ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Account Exists (0.2ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 58471815], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_account_id", 58471815], ["account_id", "884a5390c7ea59d2fee155ce4c7b9232"], ["canvas_parent_id", 1], ["parent_account_id", "13865bf10c6d6ff22ea0cf4c93ece9ea"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-02-22 16:35:29.862964"], ["updated_at", "2018-02-22 16:35:29.862964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Account Load (0.2ms) SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]] Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 58471815], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (1.8ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 65893493], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 65893493], ["role_name", "Cool Role"], ["canvas_role_id", 62166783], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.878139"], ["updated_at", "2018-02-22 16:35:29.878139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15593366], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 15593366], ["role_name", "Cool Role"], ["canvas_role_id", 57227929], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.885170"], ["updated_at", "2018-02-22 16:35:29.885170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15593366], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.894568"], ["updated_at", "2018-02-22 16:35:29.894568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 3238221], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:29.900997"], ["updated_at", "2018-02-22 16:35:29.900997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]] SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-22 16:35:29.904186"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "admins" Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (6.9ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-15 16:35:29.920887"], ["canvas_updated_at", "2018-02-21 16:35:29.921016"], ["created_at", "2018-02-22 16:35:29.931029"], ["updated_at", "2018-02-22 16:35:29.931029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-15 16:35:29.938290"], ["canvas_updated_at", "2018-02-21 16:35:29.938410"], ["created_at", "2018-02-22 16:35:29.939361"], ["updated_at", "2018-02-22 16:35:29.939361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]] AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-15 16:35:29.946901"], ["canvas_updated_at", "2018-02-21 16:35:29.946978"], ["created_at", "2018-02-22 16:35:29.947931"], ["updated_at", "2018-02-22 16:35:29.947931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-15 16:35:29.952192"], ["canvas_updated_at", "2018-02-21 16:35:29.952266"], ["created_at", "2018-02-22 16:35:29.953278"], ["updated_at", "2018-02-22 16:35:29.953278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (2.8ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-03-01 16:35:29.974204"], ["unlock_at", "2018-02-21 16:35:29.974308"], ["lock_at", "2018-03-15 16:35:29.974358"], ["created_at", "2018-02-22 16:35:29.989319"], ["updated_at", "2018-02-22 16:35:29.989319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-03-01 16:35:29.997730"], ["unlock_at", "2018-02-21 16:35:29.997845"], ["lock_at", "2018-03-15 16:35:29.997890"], ["created_at", "2018-02-22 16:35:29.998907"], ["updated_at", "2018-02-22 16:35:29.998907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]] Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-03-01 16:35:30.005284"], ["unlock_at", "2018-02-21 16:35:30.005352"], ["lock_at", "2018-03-15 16:35:30.005389"], ["created_at", "2018-02-22 16:35:30.006284"], ["updated_at", "2018-02-22 16:35:30.006284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-03-01 16:35:30.010364"], ["unlock_at", "2018-02-21 16:35:30.010428"], ["lock_at", "2018-03-15 16:35:30.010464"], ["created_at", "2018-02-22 16:35:30.011239"], ["updated_at", "2018-02-22 16:35:30.011239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (1.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 47587504], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 47587504], ["sis_id", "1cfa2ed0d4703291fc2e7a4c1633368d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.025066"], ["end_date", "2018-03-15 16:35:30.025171"], ["created_at", "2018-02-22 16:35:30.028096"], ["updated_at", "2018-02-22 16:35:30.028096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50602526], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50602526], ["sis_id", "eae83a5c951433668902c047534b04e7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.029676"], ["end_date", "2018-03-15 16:35:30.029739"], ["created_at", "2018-02-22 16:35:30.034874"], ["updated_at", "2018-02-22 16:35:30.034874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-03-01 16:35:30.040137"], ["unlock_at", "2018-02-21 16:35:30.040225"], ["lock_at", "2018-03-15 16:35:30.040272"], ["created_at", "2018-02-22 16:35:30.041450"], ["updated_at", "2018-02-22 16:35:30.041450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 5], ["LIMIT", 1]] SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 50602526], ["context_type", "Course"], ["updated_at", "2018-02-22 16:35:30.043841"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50602526], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44537725], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 44537725], ["sis_id", "83503bf0d488e0fbde6f02a72fbb55ea"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.062654"], ["end_date", "2018-03-15 16:35:30.062729"], ["created_at", "2018-02-22 16:35:30.063707"], ["updated_at", "2018-02-22 16:35:30.063707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25190512], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 25190512], ["sis_id", "f4ba2e27c8891603cb465f5a236effa5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.068942"], ["end_date", "2018-03-15 16:35:30.069010"], ["created_at", "2018-02-22 16:35:30.069822"], ["updated_at", "2018-02-22 16:35:30.069822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]] Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25190512], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 95070932], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 95070932], ["sis_id", "523a72a8193438cea1e7ab9e1ebe935d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.075550"], ["end_date", "2018-03-15 16:35:30.075634"], ["created_at", "2018-02-22 16:35:30.076511"], ["updated_at", "2018-02-22 16:35:30.076511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 86406815], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 86406815], ["sis_id", "14b76dbf6df7649e39da6c6b04b481a0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.080646"], ["end_date", "2018-03-15 16:35:30.080730"], ["created_at", "2018-02-22 16:35:30.081880"], ["updated_at", "2018-02-22 16:35:30.081880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 22485213], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 22485213], ["sis_id", "740686cb2c903eb326e0cd17ac1eb825"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.087163"], ["end_date", "2018-03-15 16:35:30.087267"], ["created_at", "2018-02-22 16:35:30.088441"], ["updated_at", "2018-02-22 16:35:30.088441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 12155232], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 12155232], ["sis_id", "9e5cace0e49305550bf50a9656081ca0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.093219"], ["end_date", "2018-03-15 16:35:30.093310"], ["created_at", "2018-02-22 16:35:30.094401"], ["updated_at", "2018-02-22 16:35:30.094401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73631923], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 73631923], ["sis_id", "cf03c15c59a0162d6ab530427d707764"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.108618"], ["end_date", "2018-03-15 16:35:30.108712"], ["created_at", "2018-02-22 16:35:30.109740"], ["updated_at", "2018-02-22 16:35:30.109740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 9118309], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 9118309], ["sis_id", "b3ffbf7aaa32ed6f33c96b9d48283cb6"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-19 16:35:30.115319"], ["end_date", "2018-03-15 16:35:30.115403"], ["created_at", "2018-02-22 16:35:30.116436"], ["updated_at", "2018-02-22 16:35:30.116436"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (3.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99805771], ["LIMIT", 1]] SQL (4.8ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 99805771], ["created_at", "2018-02-22 16:35:30.138742"], ["updated_at", "2018-02-22 16:35:30.138742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 90857632], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 90857632], ["created_at", "2018-02-22 16:35:30.155380"], ["updated_at", "2018-02-22 16:35:30.155380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]] Enrollment Exists (1.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 90857632], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 92232231], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 92232231], ["created_at", "2018-02-22 16:35:30.163649"], ["updated_at", "2018-02-22 16:35:30.163649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 75205804], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 75205804], ["created_at", "2018-02-22 16:35:30.168767"], ["updated_at", "2018-02-22 16:35:30.168767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99111642], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 99111642], ["created_at", "2018-02-22 16:35:30.172969"], ["updated_at", "2018-02-22 16:35:30.172969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 26046372], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 26046372], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:30.177348"], ["updated_at", "2018-02-22 16:35:30.177348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55261149], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 55261149], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:30.182995"], ["updated_at", "2018-02-22 16:35:30.182995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55261149], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-22 16:35:30.200912"], ["updated_at", "2018-02-22 16:35:30.200912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-22 16:35:30.213556"], ["updated_at", "2018-02-22 16:35:30.213556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]] SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-22 16:35:30.218617"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (3.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 96298638], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 96298638], ["created_at", "2018-02-22 16:35:30.250188"], ["updated_at", "2018-02-22 16:35:30.250188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 48088840], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 48088840], ["created_at", "2018-02-22 16:35:30.258480"], ["updated_at", "2018-02-22 16:35:30.258480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]] Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 48088840], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 61020277], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 61020277], ["created_at", "2018-02-22 16:35:30.268624"], ["updated_at", "2018-02-22 16:35:30.268624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 83922897], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 83922897], ["created_at", "2018-02-22 16:35:30.273097"], ["updated_at", "2018-02-22 16:35:30.273097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (9.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-15 16:35:30.286306"], ["graded_at", "2018-02-21 16:35:30.286408"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-22 16:35:30.297553"], ["updated_at", "2018-02-22 16:35:30.297553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-15 16:35:30.305335"], ["graded_at", "2018-02-21 16:35:30.305427"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-22 16:35:30.306377"], ["updated_at", "2018-02-22 16:35:30.306377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]] Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-15 16:35:30.314082"], ["graded_at", "2018-02-21 16:35:30.314148"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-22 16:35:30.314980"], ["updated_at", "2018-02-22 16:35:30.314980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-15 16:35:30.319421"], ["graded_at", "2018-02-21 16:35:30.319503"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-22 16:35:30.320328"], ["updated_at", "2018-02-22 16:35:30.320328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-15 16:35:30.324057"], ["graded_at", "2018-02-21 16:35:30.324164"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-22 16:35:30.325033"], ["updated_at", "2018-02-22 16:35:30.325033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 88079442], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 88079442], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "b8dbf84c1bda7468f2b3748193539098"], ["created_at", "2018-02-22 16:35:30.329853"], ["updated_at", "2018-02-22 16:35:30.329853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25435077], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25435077], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "587b319a7f828b099c5780d9cecf8860"], ["created_at", "2018-02-22 16:35:30.335416"], ["updated_at", "2018-02-22 16:35:30.335416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25435077], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 88804536], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 88804536], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "53fa5447a9f25f0c1efd4c760ca6d7fe"], ["created_at", "2018-02-22 16:35:30.349911"], ["updated_at", "2018-02-22 16:35:30.349911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 74774802], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 74774802], ["name", "Cool Term"], ["start_at", "2018-02-20 16:35:30.355894"], ["end_at", "2018-02-25 16:35:30.355970"], ["workflow_state", "active"], ["sis_id", "49d9c5e2048787ad4b38708578a97a87"], ["created_at", "2018-02-22 16:35:30.357220"], ["updated_at", "2018-02-22 16:35:30.357220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49686724], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49686724], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "inactive"], ["sis_id", "bc83f9c9d42af5579c593da7dd37c6e0"], ["created_at", "2018-02-22 16:35:30.360247"], ["updated_at", "2018-02-22 16:35:30.360247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 83371786], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 83371786], ["name", "Cool Term"], ["start_at", "2017-12-22 16:35:30.361425"], ["end_at", "2018-01-22 16:35:30.361698"], ["workflow_state", "active"], ["sis_id", "aa816d46fbf623a2d9e555d270e2177d"], ["created_at", "2018-02-22 16:35:30.362816"], ["updated_at", "2018-02-22 16:35:30.362816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 66342757], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 66342757], ["name", "Cool Term"], ["start_at", "2018-08-22 16:35:30.363829"], ["end_at", "2019-02-22 16:35:30.363873"], ["workflow_state", "active"], ["sis_id", "c6c384d4f1a4f118456c593f566112e1"], ["created_at", "2018-02-22 16:35:30.364926"], ["updated_at", "2018-02-22 16:35:30.364926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-09 16:35:30.366106' OR start_at IS NULL) AND (end_at >= '2018-02-07 16:35:30.366222' OR end_at IS NULL) [["workflow_state", "active"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-22 16:35:30.372058"], ["updated_at", "2018-02-22 16:35:30.372058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-19 16:35:25.747617"], ["end_at", "2018-02-25 16:35:25.747823"], ["workflow_state", "active"], ["sis_id", "c3dcfe8035b941bac0e66e8d3db5fdb4"], ["created_at", "2018-02-22 16:35:30.377710"], ["updated_at", "2018-02-22 16:35:30.377710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]] SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-22 16:35:30.380932"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "terms" Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (2.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 9092846], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 9092846], ["sis_id", "85671d049cf899dea9fd8c2d6edad32f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-22 16:35:30.405007"], ["updated_at", "2018-02-22 16:35:30.405007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 87136559], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 87136559], ["sis_id", "56a7e731c6a7af8f364aa1df85951c0d"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-22 16:35:30.415219"], ["updated_at", "2018-02-22 16:35:30.415219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 87136559], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 5215565], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 5215565], ["sis_id", "731d498337f28830f82f0596bf932f6a"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-22 16:35:30.423460"], ["updated_at", "2018-02-22 16:35:30.423460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 89631225], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 89631225], ["sis_id", "802057400b7fb6ec38729e70233c2ad3"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-22 16:35:30.428886"], ["updated_at", "2018-02-22 16:35:30.428886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignment_groups" AssignmentGroup Create Many Without Validations Or Callbacks (18.8ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","position","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n',1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-22 16:35:30.437255','2018-02-22 16:35:30.437255'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-22 16:35:30.437255','2018-02-22 16:35:30.437255') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","position"=EXCLUDED."position","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".position, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.position, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "assignments" Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','

fdsfds

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-22 16:35:30.466019','2018-02-22 16:35:30.466019'),(89,'fdsfdsfds','

fdsfdsfsdf

',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-22 16:35:30.466019','2018-02-22 16:35:30.466019') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "assignments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users" User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-22 16:35:30.475494','2018-02-22 16:35:30.475494'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-22 16:35:30.475494','2018-02-22 16:35:30.475494') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-22 16:35:30.482676','2018-02-22 16:35:30.482676'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-22 16:35:30.482676','2018-02-22 16:35:30.482676') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "enrollments" Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-22 16:35:30.490962','2018-02-22 16:35:30.490962'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-22 16:35:30.490962','2018-02-22 16:35:30.490962') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "enrollments"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "sections" Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-22 16:35:30.507732','2018-02-22 16:35:30.507732'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-22 16:35:30.507732','2018-02-22 16:35:30.507732') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-22 16:35:30.517127','2018-02-22 16:35:30.517127') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) Section Load (0.2ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "users"  (0.2ms) SELECT COUNT(*) FROM "courses" Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-22 16:35:30.529424','2018-02-22 16:35:30.529424'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-22 16:35:30.529424','2018-02-22 16:35:30.529424') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id" User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-22 16:35:30.531352','2018-02-22 16:35:30.531352'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-22 16:35:30.531352','2018-02-22 16:35:30.531352') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "courses"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "submissions" Submission Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-22 16:35:30.554505','2018-02-22 16:35:30.554505'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-22 16:35:30.554505','2018-02-22 16:35:30.554505') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"  (0.2ms) SELECT COUNT(*) FROM "submissions"  (0.1ms) ROLLBACK